public class TransactionThrowable
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
boolean |
expected |
java.lang.String |
spanId |
java.lang.Throwable |
throwable |
Constructor and Description |
---|
TransactionThrowable(java.lang.Throwable throwable,
boolean expected,
java.lang.String spanId) |
public final java.lang.Throwable throwable
public final boolean expected
public final java.lang.String spanId
public TransactionThrowable(java.lang.Throwable throwable, boolean expected, java.lang.String spanId)
throwable
- a throwable. Must never be null.expected
- whether this throwable is an expected error.spanId
- the span in which this error occurred.