public class ExceptionInterface extends Object implements SentryInterface
Modifier and Type | Field and Description |
---|---|
static String |
EXCEPTION_INTERFACE
Name of the exception interface in Sentry.
|
Constructor and Description |
---|
ExceptionInterface(Deque<SentryException> exceptions)
Creates a new instance from the given
exceptions . |
ExceptionInterface(Throwable throwable)
Creates a new instance from the given
throwable . |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Deque<SentryException> |
getExceptions() |
String |
getInterfaceName()
Gets the unique name of the interface.
|
int |
hashCode() |
String |
toString() |
public static final String EXCEPTION_INTERFACE
public ExceptionInterface(Throwable throwable)
throwable
.throwable
- the Throwable
to build this instance frompublic ExceptionInterface(Deque<SentryException> exceptions)
exceptions
.exceptions
- a Deque
of SentryException
to build this instance frompublic String getInterfaceName()
SentryInterface
getInterfaceName
in interface SentryInterface
public Deque<SentryException> getExceptions()
Copyright © 2012–2017. All rights reserved.