public abstract class StateChangeException extends OperationFailureException
A single state change can result in multiple state change exceptions (one per thread operating against the environment). Each exception is associated with the event that provoked the exception. The application can use this association to ensure that each such event is processed just once.
Modifier | Constructor and Description |
---|---|
protected |
StateChangeException(com.sleepycat.je.txn.Locker locker,
StateChangeEvent stateChangeEvent)
For internal use only.
|
protected |
StateChangeException(String message,
Exception reason)
Used when no state change event is available
|
protected |
StateChangeException(String message,
StateChangeException cause)
For internal use only.
|
Modifier and Type | Method and Description |
---|---|
StateChangeEvent |
getEvent()
Returns the event that resulted in this exception.
|
wrapSelf
addErrorMessage, addRethrownStackTrace, getMessage, getVersionHeader
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
protected StateChangeException(com.sleepycat.je.txn.Locker locker, StateChangeEvent stateChangeEvent)
protected StateChangeException(String message, Exception reason)
protected StateChangeException(String message, StateChangeException cause)
public StateChangeEvent getEvent()
Copyright (c) 2002, 2015 Oracle and/or its affiliates. All rights reserved.