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
public class ResourceException extends RuntimeException
TheResourceException
class defines a general exception that any CRISPResource
operations can throw when it is unable to perform its operation successfully.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ResourceException()
Constructs 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 Detail
-
ResourceException
public ResourceException()
Constructs a newResource
exception.
-
ResourceException
public ResourceException(String message)
Constructs a newResource
exception with the given message.- Parameters:
message
- the exception message
-
ResourceException
public ResourceException(Throwable nested)
Constructs a newResource
exception with the nested exception.- Parameters:
nested
- the nested exception
-
-