Package org.bremersee.exception
Class AccessTokenRetrieverAuthenticationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.springframework.security.core.AuthenticationException
-
- org.bremersee.exception.AccessTokenRetrieverAuthenticationException
-
- All Implemented Interfaces:
Serializable
,HttpStatusAware
public class AccessTokenRetrieverAuthenticationException extends org.springframework.security.core.AuthenticationException implements HttpStatusAware
The access token retriever authentication exception.- Author:
- Christian Bremer
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AccessTokenRetrieverAuthenticationException(org.springframework.http.HttpStatus httpStatus, String body)
Instantiates a new access token retriever authentication exception.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
status()
Gets the HTTP status code.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
AccessTokenRetrieverAuthenticationException
public AccessTokenRetrieverAuthenticationException(org.springframework.http.HttpStatus httpStatus, String body)
Instantiates a new access token retriever authentication exception.- Parameters:
httpStatus
- the http statusbody
- the body
-
-
Method Detail
-
status
public int status()
Description copied from interface:HttpStatusAware
Gets the HTTP status code.- Specified by:
status
in interfaceHttpStatusAware
- Returns:
- the HTTP status code
-
-