Package org.forgerock.http.oauth2
Class AccessTokenException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.forgerock.http.oauth2.AccessTokenException
-
- All Implemented Interfaces:
Serializable
public class AccessTokenException extends Exception
Represents an exception whilst retrieving an OAuth2 access token.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AccessTokenException(String message)
Builds anAccessTokenException
with a given message.AccessTokenException(String message, Exception cause)
Builds anAccessTokenException
with a given message and cause.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
AccessTokenException
public AccessTokenException(String message)
Builds anAccessTokenException
with a given message.- Parameters:
message
- Exception's message
-
AccessTokenException
public AccessTokenException(String message, Exception cause)
Builds anAccessTokenException
with a given message and cause.- Parameters:
message
- Exception's messagecause
- Exception cause
-
-