public class RollbarThrowableWrapper extends java.lang.Object implements ThrowableWrapper
throwable wrapper.| Constructor and Description |
|---|
RollbarThrowableWrapper(java.lang.String className,
java.lang.String message,
java.lang.StackTraceElement[] stackTraceElements,
ThrowableWrapper cause)
Constructor.
|
RollbarThrowableWrapper(java.lang.Throwable throwable)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
ThrowableWrapper |
getCause()
Get the
throwable wrapped cause. |
java.lang.String |
getClassName()
Get the
throwable class name. |
java.lang.String |
getMessage()
Get the
throwable message. |
java.lang.StackTraceElement[] |
getStackTrace()
Get the
throwable stack trace elements. |
java.lang.Throwable |
getThrowable()
Get the wrapped
throwable. |
int |
hashCode() |
java.lang.String |
toString() |
public RollbarThrowableWrapper(java.lang.Throwable throwable)
throwable - the throwable.public RollbarThrowableWrapper(java.lang.String className,
java.lang.String message,
java.lang.StackTraceElement[] stackTraceElements,
ThrowableWrapper cause)
className - the class name.message - the message.stackTraceElements - the stack trace elements.cause - the cause.public java.lang.String getClassName()
ThrowableWrapperthrowable class name.getClassName in interface ThrowableWrapperpublic java.lang.String getMessage()
ThrowableWrapperthrowable message.getMessage in interface ThrowableWrapperpublic java.lang.StackTraceElement[] getStackTrace()
ThrowableWrapperthrowable stack trace elements.getStackTrace in interface ThrowableWrapperpublic ThrowableWrapper getCause()
ThrowableWrapperthrowable wrapped cause.getCause in interface ThrowableWrapperpublic java.lang.Throwable getThrowable()
ThrowableWrapperthrowable.getThrowable in interface ThrowableWrapperpublic java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object