public class InvalidBearerTokenException extends OAuth2AuthenticationException
OAuth2AuthenticationException
that indicates an invalid bearer token.Constructor and Description |
---|
InvalidBearerTokenException(java.lang.String description)
Construct an instance of
InvalidBearerTokenException given the provided
description. |
InvalidBearerTokenException(java.lang.String description,
java.lang.Throwable cause)
Construct an instance of
InvalidBearerTokenException given the provided
description and cause
The description will be wrapped into an OAuth2Error
instance as the error_description . |
getError
public InvalidBearerTokenException(java.lang.String description)
InvalidBearerTokenException
given the provided
description.
The description will be wrapped into an OAuth2Error
instance as the error_description
.description
- the descriptionpublic InvalidBearerTokenException(java.lang.String description, java.lang.Throwable cause)
InvalidBearerTokenException
given the provided
description and cause
The description will be wrapped into an OAuth2Error
instance as the error_description
.description
- the descriptioncause
- the causing exception