Package com.inrupt.client.openid
Class OpenIdException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.inrupt.client.openid.OpenIdException
- All Implemented Interfaces:
Serializable
A runtime exception for use with OpenID-related errors.
- See Also:
-
Constructor Summary
ConstructorDescriptionOpenIdException
(String message) Create an OpenID exception.OpenIdException
(String message, int statusCode) Create a OpenID exception.OpenIdException
(String message, Throwable cause) Create an OpenID exception.OpenIdException
(String message, Throwable cause, int statusCode) Create an OpenID exception. -
Method Summary
Modifier and TypeMethodDescriptionGet the HTTP status code of the response if there is one.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
OpenIdException
Create an OpenID exception.- Parameters:
message
- the message
-
OpenIdException
Create an OpenID exception.- Parameters:
message
- the messagecause
- the cause
-
OpenIdException
Create an OpenID exception.- Parameters:
message
- the messagecause
- the causestatusCode
- the HTTP status code
-
OpenIdException
Create a OpenID exception.- Parameters:
message
- the messagestatusCode
- the HTTP status code
-
-
Method Details
-
getStatus
Get the HTTP status code of the response if there is one.- Returns:
- the HTTP status code
-