Class ResourceException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.onehippo.cms7.crisp.api.resource.ResourceException
- All Implemented Interfaces:
Serializable
The
ResourceException
class defines a general exception that any CRISP Resource
operations can throw when it is unable to perform its operation successfully.- See Also:
-
Constructor Summary
ConstructorDescriptionConstructs a newResource
exception.ResourceException
(String message) Constructs a newResource
exception with the given message.ResourceException
(String message, Throwable nested) Constructs a newResource
exception with the given message and a nested exception.ResourceException
(Throwable nested) Constructs a newResource
exception with the nested exception. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ResourceException
public ResourceException()Constructs a newResource
exception. -
ResourceException
Constructs a newResource
exception with the given message.- Parameters:
message
- the exception message
-
ResourceException
Constructs a newResource
exception with the nested exception.- Parameters:
nested
- the nested exception
-
ResourceException
Constructs a newResource
exception with the given message and a nested exception.- Parameters:
message
- the exception messagenested
- the nested exception
-