public class ResolveException extends GeneralException
Constructor and Description |
---|
ResolveException(ErrorObject error,
AuthenticationRequest authRequest)
Creates a new resolve exception.
|
ResolveException(String exMessage,
String clientMessage,
AuthenticationRequest authRequest,
Throwable cause)
Creates a new resolve exception.
|
getClientID, getErrorObject, getRedirectionURI, getResponseMode, getState
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ResolveException(ErrorObject error, AuthenticationRequest authRequest)
error
- The associated OpenID Connect / OAuth 2.0 error.
Must not be null
.authRequest
- The associated OpenID Connect authentication
request. Must not be null
.public ResolveException(String exMessage, String clientMessage, AuthenticationRequest authRequest, Throwable cause)
OIDCError.INVALID_REQUEST_URI
or
OIDCError.INVALID_REQUEST_OBJECT
depending on the request
type.exMessage
- The original exception message (to be logged).
May be null
.clientMessage
- The message to pass back to the client in the
error_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 be null
.cause
- The exception cause, null
if not
specified.Copyright © 2017 Connect2id Ltd.. All rights reserved.