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
An exception thrown during the processing of
/authorize and /par request.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionAuthorizationRequestException(String errorCode, String errorDescription) Constructs a newAuthorizationRequestExceptionwith the specified error code and description.AuthorizationRequestException(String errorCode, String errorDescription, Throwable cause) Constructs a newAuthorizationRequestExceptionwith the specified error code, description and cause. -
Method Summary
Methods inherited from class org.forgerock.openig.fapi.error.FapiException
getErrorCode, getErrorDescriptionMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
AuthorizationRequestException
Constructs a newAuthorizationRequestExceptionwith 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 codeerrorDescription- the error description
-
AuthorizationRequestException
Constructs a newAuthorizationRequestExceptionwith 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 codeerrorDescription- the error descriptioncause- the cause
-