Package com.sas.services
Class IllegalServiceStateException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.sas.util.ChainedException
com.sas.services.ServiceException
com.sas.services.IllegalServiceStateException
- All Implemented Interfaces:
com.sas.util.ChainedExceptionInterface,Serializable
Thrown when the object is not in the proper state for the requested
operation.
- Since:
- 1.0
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionIllegalServiceStateException(String message) Constructs an instance using the specified message to detail the cause of the exception.IllegalServiceStateException(Throwable throwable, String message) Constructs an instance using the specified message and a throwable that prompted creation of this service exception. -
Method Summary
Methods inherited from class com.sas.util.ChainedException
chainContains, getRootException, getRootException, getTargetException, getTargetException, printStackTrace, printStackTrace, printStackTrace, toString, toStringBufferMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTraceMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
IllegalServiceStateException
public IllegalServiceStateException(String message) Constructs an instance using the specified message to detail the cause of the exception.- Parameters:
message- Exception message.
-
IllegalServiceStateException
public IllegalServiceStateException(Throwable throwable, String message) Constructs an instance using the specified message and a throwable that prompted creation of this service exception.- Parameters:
throwable- Throwable that prompted the exception.message- Exception message.
-