ThrowableDatapublic final class ThrowableStore extends Object implements ThrowableData
| Constructor | Description |
|---|---|
ThrowableStore(String className,
String message,
List<StackTraceElement> stackTrace,
ThrowableData cause) |
|
ThrowableStore(String className,
String message,
List<StackTraceElement> stackTrace,
ThrowableData cause,
List<ThrowableData> suppressed) |
| Modifier and Type | Method | Description |
|---|---|---|
ThrowableData |
getCause() |
Gets the cause of the throwable to output.
|
String |
getClassName() |
Gets the class name of the throwable to output.
|
String |
getMessage() |
Gets the message of the throwable to output.
|
List<StackTraceElement> |
getStackTrace() |
Gets the stack trace of the throwable to output.
|
List<ThrowableData> |
getSuppressed() |
Gets the suppressed throwables of the throwable to output.
|
public ThrowableStore(String className, String message, List<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 ThrowableStore(String className, String message, List<StackTraceElement> stackTrace, ThrowableData cause, List<ThrowableData> suppressed)
className - Class name of the throwablemessage - Message of the throwablestackTrace - Stack trace for the throwablecause - Cause of the throwable (can be null)suppressed - Suppressed throwables of the throwable (can be null)public String getClassName()
ThrowableDatagetClassName in interface ThrowableDatapublic String getMessage()
ThrowableDatagetMessage in interface ThrowableDatapublic List<StackTraceElement> getStackTrace()
ThrowableDatagetStackTrace in interface ThrowableDatapublic ThrowableData getCause()
ThrowableDatagetCause in interface ThrowableDatanullpublic List<ThrowableData> getSuppressed()
ThrowableDatagetSuppressed in interface ThrowableDatanull, may be empty)Copyright © 2026. All rights reserved.