com.rollbar.notifier.wrapper.ThrowableWrapper Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of rollbar-java Show documentation
Show all versions of rollbar-java Show documentation
For connecting your applications built on the JVM to Rollbar for Error Reporting
package com.rollbar.notifier.wrapper;
/**
* Throwable wrapper to wrap a {@link Throwable thowable} or to represent a not available one.
*/
public interface ThrowableWrapper {
/**
* Get the {@link Throwable throwable} class name.
*
* @return the class name.
*/
String getClassName();
/**
* Get the {@link Throwable throwable} message.
*
* @return the message.
*/
String getMessage();
/**
* Get the {@link Throwable throwable} stack trace elements.
*
* @return the stack trace elements.
*/
StackTraceElement[] getStackTrace();
/**
* Get the {@link ThrowableWrapper throwable wrapped} cause.
*
* @return the cause.
*/
ThrowableWrapper getCause();
/**
* Get the wrapped {@link Throwable throwable}.
*
* @return the throwable.
*/
Throwable getThrowable();
}