java.io.SerializableMasterStateException, ReplicaStateException, ReplicaWriteException, UnknownMasterExceptionpublic 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 | Description |
|---|---|---|
protected |
StateChangeException(java.lang.String message,
java.lang.Exception reason) |
Used when no state change event is available
|
| Modifier and Type | Method | Description |
|---|---|---|
StateChangeEvent |
getEvent() |
Returns the event that resulted in this exception.
|
getMessageprotected StateChangeException(java.lang.String message,
java.lang.Exception reason)
public StateChangeEvent getEvent()
Copyright (c) 2002, 2018 Oracle and/or its affiliates. All rights reserved.