Class InternalServiceException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- de.aristaflow.adept2.base.service.ADEPT2ServiceException
-
- de.aristaflow.adept2.base.service.InternalServiceException
-
- All Implemented Interfaces:
Serializable
public class InternalServiceException extends ADEPT2ServiceException
Thrown, if an internal error happened, e.g. if connection to the data base fails, or locking of an entity fails over a defined time limit.- Author:
- Kevin Goeser
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
InternalServiceException()
Create a new exception without any data.InternalServiceException(String message)
Create a new exception with a message.InternalServiceException(String message, Throwable cause)
Create a new exception with a message and a cause.protected
InternalServiceException(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
-
InternalServiceException
protected InternalServiceException()
Create a new exception without any data. This is useful for subclasses.
-
InternalServiceException
protected InternalServiceException(Throwable cause)
Create a new exception with the designated cause. This is useful for subclasses.- Parameters:
cause
-
-
InternalServiceException
public InternalServiceException(String message, Throwable cause)
Create a new exception with a message and a cause.- Parameters:
message
-cause
-
-
InternalServiceException
public InternalServiceException(String message)
Create a new exception with a message.- Parameters:
message
-
-
-