public class GeneralException extends java.lang.Exception
Constructor and Description |
---|
GeneralException(java.lang.String message)
Creates a new general exception.
|
GeneralException(java.lang.String message,
ErrorObject error)
Creates a new general exception.
|
GeneralException(java.lang.String message,
ErrorObject error,
ClientID clientID,
java.net.URI redirectURI,
ResponseMode responseMode,
State state)
Creates a new general exception.
|
GeneralException(java.lang.String message,
ErrorObject error,
ClientID clientID,
java.net.URI redirectURI,
ResponseMode responseMode,
State state,
java.lang.Throwable cause)
Creates a new general exception.
|
GeneralException(java.lang.String message,
ErrorObject error,
java.lang.Throwable cause)
Creates a new general exception.
|
GeneralException(java.lang.String message,
java.lang.Throwable cause)
Creates a new general exception.
|
Modifier and Type | Method and Description |
---|---|
ClientID |
getClientID()
Gets the associated client identifier.
|
ErrorObject |
getErrorObject()
Gets the associated error.
|
java.net.URI |
getRedirectionURI()
Gets the associated redirection URI.
|
ResponseMode |
getResponseMode()
Gets the associated response mode.
|
State |
getState()
Gets the optional associated state parameter.
|
public GeneralException(java.lang.String message)
message
- The exception message. May be null
.public GeneralException(java.lang.String message, java.lang.Throwable cause)
message
- The exception message. May be null
.cause
- The exception cause, null
if not specified.public GeneralException(java.lang.String message, ErrorObject error)
message
- The exception message. May be null
.error
- The associated error, null
if not specified.public GeneralException(java.lang.String message, ErrorObject error, java.lang.Throwable cause)
message
- The exception message. May be null
.error
- The associated error, null
if not specified.cause
- The exception cause, null
if not specified.public GeneralException(java.lang.String message, ErrorObject error, ClientID clientID, java.net.URI redirectURI, ResponseMode responseMode, State state)
message
- The exception message. May be null
.error
- The associated error, null
if not
specified.clientID
- The associated client identifier, null
if
not specified.redirectURI
- The associated redirection URI, null
if
not specified.responseMode
- The optional associated response mode,
null
if not specified.state
- The optional associated state parameter,
null
if not specified.public GeneralException(java.lang.String message, ErrorObject error, ClientID clientID, java.net.URI redirectURI, ResponseMode responseMode, State state, java.lang.Throwable cause)
message
- The exception message. May be null
.error
- The associated error, null
if not
specified.clientID
- The associated client identifier, null
if not specified.redirectURI
- The associated redirection URI, null
if
not specified.state
- The optional associated state parameter,
null
if not specified.responseMode
- The optional associated response mode,
null
if not specified.cause
- The exception cause, null
if not
specified.public ErrorObject getErrorObject()
null
if not specified.public ClientID getClientID()
null
if not specified.public java.net.URI getRedirectionURI()
null
if redirection is not to
be performed for this error.public ResponseMode getResponseMode()
null
if not specified.Copyright © 2015 Connect2id Ltd.. All Rights Reserved.