Class ResolveException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.nimbusds.oauth2.sdk.GeneralException
com.nimbusds.openid.connect.sdk.op.ResolveException
- All Implemented Interfaces:
Serializable
Resolve exception.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionResolveException
(ErrorObject error, AuthenticationRequest authRequest) Creates a new resolve exception.ResolveException
(String exMessage, String clientMessage, AuthenticationRequest authRequest, Throwable cause) Creates a new resolve 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
-
ResolveException
Creates a new resolve exception.- Parameters:
error
- The associated OpenID Connect / OAuth 2.0 error. Must not benull
.authRequest
- The associated OpenID Connect authentication request. Must not benull
.
-
ResolveException
public ResolveException(String exMessage, String clientMessage, AuthenticationRequest authRequest, Throwable cause) Creates a new resolve exception. The error code is set toOAuth2Error.INVALID_REQUEST_URI
orOAuth2Error.INVALID_REQUEST_OBJECT
depending on the request type.- Parameters:
exMessage
- The original exception message (to be logged). May benull
.clientMessage
- The message to pass back to the client in theerror_description
of the error code,null
to use the default one.authRequest
- The associated OpenID Connect authentication request, used to determine the error object. Must not benull
.cause
- The exception cause,null
if not specified.
-