ThrowableData
public final class ThrowableWrapper extends java.lang.Object implements ThrowableData
Constructor | Description |
---|---|
ThrowableWrapper(java.lang.Throwable throwable) |
Modifier and Type | Method | Description |
---|---|---|
ThrowableWrapper |
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 ThrowableWrapper(java.lang.Throwable throwable)
throwable
- Throwable to wrappublic java.lang.String getClassName()
ThrowableData
getClassName
in interface ThrowableData
public java.lang.String getMessage()
ThrowableData
getMessage
in interface ThrowableData
public java.util.List<java.lang.StackTraceElement> getStackTrace()
ThrowableData
getStackTrace
in interface ThrowableData
public ThrowableWrapper getCause()
ThrowableData
getCause
in interface ThrowableData
null
Copyright © 2022. All rights reserved.