Package org.sklsft.commons.api.exception
Class ApplicationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.sklsft.commons.api.exception.ApplicationException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AccessDeniedException,InvalidArgumentException,InvalidStateException,ObjectNotFoundException,TechnicalError
This RuntimeException is used to be handled by several aspects
It overrides the message to enable the serialization/deserialization using setters as required in json serialization for instance
It overrides the message to enable the serialization/deserialization using setters as required in json serialization for instance
- Author:
- Nicolas Thibault
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionApplicationException(String message) ApplicationException(String message, Throwable cause) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ApplicationException
public ApplicationException() -
ApplicationException
-
ApplicationException
-
-
Method Details
-
getMessage
- Overrides:
getMessagein classThrowable
-
setMessage
-
getHttpErrorCode
-