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(java.lang.String message,
java.lang.Exception reason)
Used when no state change event is available
|
Modifier and Type | Method and Description |
---|---|
StateChangeEvent |
getEvent()
Returns the event that resulted in this exception.
|
getMessage
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.