Package co.cloudcraft.exception
Class CloudcraftException
java.lang.Object
java.lang.Throwable
java.lang.Exception
co.cloudcraft.exception.CloudcraftException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AuthenticationException,InvalidRequestException,NotFoundException,PermissionException,ResourceOutofDateException
The class CloudcraftException and its subclasses are a form of Throwable that indicates
conditions that a reasonable application might want to catch.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCloudcraftException(ErrorResponse error, Integer statusCode) CloudcraftException(String message, String code) CloudcraftException(String message, String code, Integer statusCode) CloudcraftException(String message, String code, Integer statusCode, Throwable e) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
CloudcraftException
-
CloudcraftException
-
CloudcraftException
-
CloudcraftException
-
-
Method Details
-
getMessage
- Overrides:
getMessagein classThrowable
-
getCode
-
getStatusCode
-