Class InvalidServiceStateException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- de.aristaflow.adept2.base.service.ADEPT2ServiceException
-
- de.aristaflow.adept2.base.service.InvalidServiceStateException
-
- All Implemented Interfaces:
Serializable
public final class InvalidServiceStateException extends ADEPT2ServiceException
Thrown, if a service refuses to handle the request, because it is e.g. starting up or shutting down.- Author:
- Kevin Goeser
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InvalidServiceStateException(String message)
Create a new exception with a.InvalidServiceStateException(String message, Throwable cause)
Create a new exception with a message and a cause.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
InvalidServiceStateException
public InvalidServiceStateException(String message, Throwable cause)
Create a new exception with a message and a cause.- Parameters:
message
-cause
-
-
InvalidServiceStateException
public InvalidServiceStateException(String message)
Create a new exception with a.- Parameters:
message
-
-
-