Package com.okta.authn.sdk
Class InvalidTokenException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.okta.authn.sdk.AuthenticationException
-
- com.okta.authn.sdk.InvalidTokenException
-
- All Implemented Interfaces:
com.okta.sdk.error.Error
,java.io.Serializable
public class InvalidTokenException extends AuthenticationException
Invalid token provided. This exception was thrown as a result of a contains error information returned4xx
status, related error messages are contained within this exception.- Since:
- 0.1.0
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ERROR_CODE
-
Constructor Summary
Constructors Constructor Description InvalidTokenException(com.okta.sdk.error.Error error)
InvalidTokenException(com.okta.sdk.resource.ResourceException e)
-
Method Summary
-
Methods inherited from class com.okta.authn.sdk.AuthenticationException
getCauses, getCode, getHeaders, getId, getStatus
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Field Detail
-
ERROR_CODE
public static final java.lang.String ERROR_CODE
- See Also:
- Constant Field Values
-
-