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