public class TimeoutExpiredException extends TransactionException
Modifier and Type | Field and Description |
---|---|
boolean |
committed
True if the transaction committed before the timeout.
|
Constructor and Description |
---|
TimeoutExpiredException(boolean committed)
Constructs an instance with no detail message.
|
TimeoutExpiredException(String desc,
boolean committed)
Constructs an instance with a detail message.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public boolean committed
public TimeoutExpiredException(boolean committed)
committed
- whether the transaction committed before the timeout.public TimeoutExpiredException(String desc, boolean committed)
desc
- the detail messagecommitted
- whether the transaction committed before the timeout.