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|
Used when no state change event is available
|Modifier and Type||Method and Description|
Returns the event that resulted in this exception.
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
protected StateChangeException(java.lang.String message, java.lang.Exception reason)
public StateChangeEvent getEvent()
Copyright (c) 2002, 2017 Oracle and/or its affiliates. All rights reserved.