Class RestException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.gentics.contentnode.rest.client.exceptions.RestException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AuthRequiredRestException
,FailureRestException
,InvalidDataRestException
,MaintenanceModeRestException
,NotFoundRestException
,PermissionRestException
Base class for all possible exceptions that might be thrown for REST API actions
- See Also:
-
Constructor Summary
ConstructorDescriptionRestException
(String message) Create an instanceRestException
(String message, Throwable cause) Create an instance -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
RestException
Create an instance- Parameters:
message
- message
-
RestException
Create an instance- Parameters:
message
- messagecause
- cause
-