public class TransactionErrorTrackerImpl extends java.lang.Object implements TransactionErrorTracker
| Constructor and Description |
|---|
TransactionErrorTrackerImpl() |
| Modifier and Type | Method and Description |
|---|---|
TransactionErrorPriority |
getPriority() |
TransactionThrowable |
getThrowable() |
void |
noticeTracerException(java.lang.Throwable throwable,
java.lang.String spanId)
Capture the first tracer that had this unhandled exception.
|
void |
setThrowable(java.lang.Throwable throwable,
TransactionErrorPriority priority,
boolean expected,
java.lang.String mostRecentSpanId) |
void |
setThrowable(TransactionThrowable transactionThrowable) |
boolean |
tryUpdatePriority(TransactionErrorPriority newPriority) |
static java.lang.Throwable |
unwrapIfServletException(java.lang.Throwable throwable)
If the exception is a javax.servlet.ServletException and the cause of the exception is not null, return
the cause.
|
public static java.lang.Throwable unwrapIfServletException(java.lang.Throwable throwable)
public TransactionThrowable getThrowable()
getThrowable in interface TransactionErrorTrackerpublic void setThrowable(TransactionThrowable transactionThrowable)
setThrowable in interface TransactionErrorTrackerpublic void setThrowable(java.lang.Throwable throwable,
TransactionErrorPriority priority,
boolean expected,
java.lang.String mostRecentSpanId)
setThrowable in interface TransactionErrorTrackerpublic boolean tryUpdatePriority(TransactionErrorPriority newPriority)
tryUpdatePriority in interface TransactionErrorTrackerpublic TransactionErrorPriority getPriority()
getPriority in interface TransactionErrorTrackerpublic void noticeTracerException(java.lang.Throwable throwable,
java.lang.String spanId)
noticeTracerException in interface TransactionErrorTrackerthrowable - The unhandled exception from the tracerspanId - The Tracer GUID