Package com.inrupt.client.accessgrant
Class AccessGrantException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.inrupt.client.InruptClientException
com.inrupt.client.accessgrant.AccessGrantException
- All Implemented Interfaces:
Serializable
A runtime exception for use with Access Grants.
- See Also:
-
Constructor Summary
ConstructorDescriptionAccessGrantException
(String message) Create an AccessGrant exception.AccessGrantException
(String message, int statusCode) Create an AccessGrant exception.AccessGrantException
(String message, int statusCode, Throwable cause) Create an AccessGrant exception.AccessGrantException
(String message, Throwable cause) Create an AccessGrant 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
-
AccessGrantException
Create an AccessGrant exception.- Parameters:
message
- the message
-
AccessGrantException
Create an AccessGrant exception.- Parameters:
message
- the messagecause
- the cause
-
AccessGrantException
Create an AccessGrant exception.- Parameters:
message
- the messagestatusCode
- the HTTP status code
-
AccessGrantException
Create an AccessGrant exception.- Parameters:
message
- the messagecause
- the causestatusCode
- the HTTP status code
-
-
Method Details
-
getStatusCode
Get the status code.- Returns:
- the status code, if available
-