public class ExceptionTruncation extends Object
| Modifier and Type | Field and Description |
|---|---|
static ExceptionTruncation |
REMOVE_ALL
Instance to remove all additional details.
|
static ExceptionTruncation |
REMOVE_NONE
Instance to remove no additional details.
|
static ExceptionTruncation |
REMOVE_STACKTRACE_AND_SUPPRESSED
Instance to remove
stacktrace and suppressed. |
private boolean |
removeCause |
private boolean |
removeStacktrace |
private boolean |
removeSuppressed |
| Constructor and Description |
|---|
ExceptionTruncation(boolean removeSuppressed,
boolean removeCause,
boolean removeStacktrace)
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isRemoveAll() |
boolean |
isRemoveCause() |
boolean |
isRemoveStacktrace() |
boolean |
isRemoveSuppressed() |
boolean |
isRetainAll() |
String |
toString() |
public static final ExceptionTruncation REMOVE_ALL
public static final ExceptionTruncation REMOVE_STACKTRACE_AND_SUPPRESSED
stacktrace and suppressed.public static final ExceptionTruncation REMOVE_NONE
private final boolean removeCause
private final boolean removeSuppressed
private final boolean removeStacktrace
public ExceptionTruncation(boolean removeSuppressed,
boolean removeCause,
boolean removeStacktrace)
removeSuppressed - - see isRemoveSuppressed().removeCause - - see isRemoveCause().removeStacktrace - - see isRemoveStacktrace().public boolean isRemoveSuppressed()
true if the suppressed exceptions shall be removed, false
otherwise.public boolean isRemoveCause()
true if the cause shall be removed, false otherwise.public boolean isRemoveStacktrace()
true if the stacktrace shall be removed, false otherwise.public boolean isRemoveAll()
true if all details shall be removed, false otherwise.isRemoveStacktrace(),
isRemoveCause(),
isRemoveSuppressed()public boolean isRetainAll()
true if no details shall be removed (all information is retained), false otherwise.isRemoveStacktrace(),
isRemoveCause(),
isRemoveSuppressed()Copyright © 2001–2016 mmm-Team. All rights reserved.