public final class ServiceStateException extends GatewayFrameworkException
 The service state at the time of the exception can be obtained using the
 getState() method.
| Constructor and Description | 
|---|
ServiceStateException(ServiceState currentState)
Constructor. 
 | 
ServiceStateException(ServiceState currentState,
                     String message)
Constructor. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
ServiceState | 
getState()
Returns the current service state. 
 | 
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic ServiceStateException(ServiceState currentState)
currentState - - the current state of the servicepublic ServiceStateException(ServiceState currentState, String message)
currentState - - the current state of the servicemessage - the detail messagepublic ServiceState getState()
Copyright © 2025 DiffusionData Limited. All rights reserved.