ThrowableDatapublic final class ThrowableStore extends java.lang.Object implements ThrowableData
| Constructor | Description |
|---|---|
ThrowableStore(java.lang.String className,
java.lang.String message,
java.util.List<java.lang.StackTraceElement> stackTrace,
ThrowableData cause) |
| Modifier and Type | Method | Description |
|---|---|---|
ThrowableData |
getCause() |
Gets the cause of the throwable to output.
|
java.lang.String |
getClassName() |
Gets the class name of the throwable to output.
|
java.lang.String |
getMessage() |
Gets the message of the throwable to output.
|
java.util.List<java.lang.StackTraceElement> |
getStackTrace() |
Gets the stack trace of the throwable to output.
|
public ThrowableStore(java.lang.String className,
java.lang.String message,
java.util.List<java.lang.StackTraceElement> stackTrace,
ThrowableData cause)
className - Class name of the throwablemessage - Message of the throwablestackTrace - Stack trace for the throwablecause - Cause of the throwable (can be null)public java.lang.String getClassName()
ThrowableDatagetClassName in interface ThrowableDatapublic java.lang.String getMessage()
ThrowableDatagetMessage in interface ThrowableDatapublic java.util.List<java.lang.StackTraceElement> getStackTrace()
ThrowableDatagetStackTrace in interface ThrowableDatapublic ThrowableData getCause()
ThrowableDatagetCause in interface ThrowableDatanullCopyright © 2021. All rights reserved.