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()
ThrowableWrapper
throwable
class name.getClassName
in interface ThrowableWrapper
public java.lang.String getMessage()
ThrowableWrapper
throwable
message.getMessage
in interface ThrowableWrapper
public java.lang.StackTraceElement[] getStackTrace()
ThrowableWrapper
throwable
stack trace elements.getStackTrace
in interface ThrowableWrapper
public ThrowableWrapper getCause()
ThrowableWrapper
throwable wrapped
cause.getCause
in interface ThrowableWrapper
public java.lang.Throwable getThrowable()
ThrowableWrapper
throwable
.getThrowable
in interface ThrowableWrapper
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object