Class ADEPT2ServiceException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- de.aristaflow.adept2.base.service.ADEPT2ServiceException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AbortTransactionException
,InternalServiceException
,InvalidServiceStateException
,InvalidServiceUsageException
,ServiceAccessControlException
public abstract class ADEPT2ServiceException extends RuntimeException
Super class for all runtime exceptions thrown by the ADEPT2 services.Note: Do not extend this class, use one of the existing subclasses!
- Author:
- Kevin Goeser
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ADEPT2ServiceException()
Create a new exception without any data.protected
ADEPT2ServiceException(String message)
Create a new exception with a.protected
ADEPT2ServiceException(String message, Throwable cause)
Create a new exception with a message and a cause.protected
ADEPT2ServiceException(Throwable cause)
Create a new exception with the designated 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
-
ADEPT2ServiceException
protected ADEPT2ServiceException()
Create a new exception without any data. This is useful for subclasses.
-
ADEPT2ServiceException
protected ADEPT2ServiceException(String message, Throwable cause)
Create a new exception with a message and a cause.- Parameters:
message
-cause
-
-
ADEPT2ServiceException
protected ADEPT2ServiceException(Throwable cause)
Create a new exception with the designated cause.- Parameters:
cause
-
-
ADEPT2ServiceException
protected ADEPT2ServiceException(String message)
Create a new exception with a.- Parameters:
message
-
-
-