Class InvalidPushedAuthorizationRequestException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.nimbusds.openid.connect.provider.spi.par.InvalidPushedAuthorizationRequestException
- All Implemented Interfaces:
Serializable
Invalid Pushed Authorisation Request (PAR) exception.
- See Also:
-
Constructor Summary
ConstructorDescriptionInvalidPushedAuthorizationRequestException
(@Nullable String message) Creates a new invalid Pushed Authorisation Request (PAR) exception.InvalidPushedAuthorizationRequestException
(@Nullable String message, com.nimbusds.oauth2.sdk.ErrorObject errorObject) Creates a new invalid OAuth 2.0 authorisation / OpenID authentication request exception. -
Method Summary
Modifier and TypeMethodDescriptioncom.nimbusds.oauth2.sdk.ErrorObject
Returns the error object.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InvalidPushedAuthorizationRequestException
Creates a new invalid Pushed Authorisation Request (PAR) exception. The HTTP status is set to 400 and error code in the JSON object is set toinvalid_request
.- Parameters:
message
- The exception message, will be logged. Should not benull
.
-
InvalidPushedAuthorizationRequestException
public InvalidPushedAuthorizationRequestException(@Nullable String message, com.nimbusds.oauth2.sdk.ErrorObject errorObject) Creates a new invalid OAuth 2.0 authorisation / OpenID authentication request exception.- Parameters:
message
- The exception message, will be logged. Should not benull
.errorObject
- The error object, with HTTP status, error code and optional error description and error URI. Must not benull
.
-
-
Method Details
-
getErrorObject
Returns the error object.- Returns:
- The error object with HTTP status, error code and optional error description and error URI.
-