Class AuthorizationRequestException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.forgerock.openig.fapi.error.FapiException
org.forgerock.openig.fapi.authorization.AuthorizationRequestException
All Implemented Interfaces:
Serializable

public final class AuthorizationRequestException extends FapiException
An exception thrown during the processing of /authorize and /par request.
See Also:
  • Constructor Details

    • AuthorizationRequestException

      public AuthorizationRequestException(String errorCode, String errorDescription)
      Constructs a new AuthorizationRequestException with the specified error code and description.

      The error code MUST be part of OAuth2 specification, see RFC6749, and also OAuth2Error.

      Parameters:
      errorCode - the oauth2 error code
      errorDescription - the error description
    • AuthorizationRequestException

      public AuthorizationRequestException(String errorCode, String errorDescription, Throwable cause)
      Constructs a new AuthorizationRequestException with the specified error code, description and cause.

      The error code MUST be part of OAuth2 specification, see RFC6749, and also OAuth2Error.

      Parameters:
      errorCode - the error code
      errorDescription - the error description
      cause - the cause