Package com.nimbusds.oauth2.sdk
Class ParseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.nimbusds.oauth2.sdk.GeneralException
com.nimbusds.oauth2.sdk.ParseException
- All Implemented Interfaces:
Serializable
Parse exception.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionParseException
(String message) Creates a new parse exception.ParseException
(String message, ErrorObject error) Creates a new parse exception.ParseException
(String message, ErrorObject error, ClientID clientID, URI redirectURI, ResponseMode responseMode, State state) Creates a new parse exception.ParseException
(String message, ErrorObject error, ClientID clientID, URI redirectURI, ResponseMode responseMode, State state, Throwable cause) Creates a new parse exception.ParseException
(String message, ErrorObject error, Throwable cause) Creates a new parse exception.ParseException
(String message, Throwable cause) Creates a new parse exception. -
Method Summary
Methods inherited from class com.nimbusds.oauth2.sdk.GeneralException
getClientID, getErrorObject, getRedirectionURI, getResponseMode, getState
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ParseException
Creates a new parse exception.- Parameters:
message
- The exception message. May benull
.
-
ParseException
Creates a new parse exception.- Parameters:
message
- The exception message. May benull
.cause
- The exception cause,null
if not specified.
-
ParseException
Creates a new parse exception.- Parameters:
message
- The exception message. May benull
.error
- The associated error,null
if not specified.
-
ParseException
Creates a new parse exception.- Parameters:
message
- The exception message. May benull
.error
- The associated error,null
if not specified.cause
- The exception cause,null
if not specified.
-
ParseException
public ParseException(String message, ErrorObject error, ClientID clientID, URI redirectURI, ResponseMode responseMode, State state) Creates a new parse exception.- Parameters:
message
- The exception message. May benull
.error
- The associated error,null
if not specified.clientID
- The associated client identifier. Must not benull
.redirectURI
- The associated redirection URI. Must not benull
.responseMode
- The optional associated response mode,null
if not specified.state
- The optional associated state parameter,null
if not specified.
-
ParseException
public ParseException(String message, ErrorObject error, ClientID clientID, URI redirectURI, ResponseMode responseMode, State state, Throwable cause) Creates a new parse exception.- Parameters:
message
- The exception message. May benull
.error
- The associated error,null
if not specified.clientID
- The associated client identifier. Must not benull
.redirectURI
- The associated redirection URI. Must not benull
.responseMode
- The optional associated response mode,null
if not specified.state
- The optional associated state parameter,null
if not specified.cause
- The exception cause,null
if not specified.
-