public class InvalidPushedAuthorizationRequestException extends Exception
Constructor and Description |
---|
InvalidPushedAuthorizationRequestException(String message)
Creates a new invalid Pushed Authorisation Request (PAR) exception.
|
InvalidPushedAuthorizationRequestException(String message,
com.nimbusds.oauth2.sdk.ErrorObject errorObject)
Creates a new invalid OAuth 2.0 authorisation / OpenID
authentication request exception.
|
Modifier and Type | Method and Description |
---|---|
com.nimbusds.oauth2.sdk.ErrorObject |
getErrorObject()
Returns the error object.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public InvalidPushedAuthorizationRequestException(String message)
invalid_request
.message
- The exception message, will be logged. Should not be
null
.public InvalidPushedAuthorizationRequestException(String message, com.nimbusds.oauth2.sdk.ErrorObject errorObject)
message
- The exception message, will be logged. Should not
be null
.errorObject
- The error object, with HTTP status, error code
and optional error description and error URI.
Must not be null
.public com.nimbusds.oauth2.sdk.ErrorObject getErrorObject()
Copyright © 2021 Connect2id Ltd.. All rights reserved.