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
,Serializable
Invalid token provided. This exception
was thrown as a result of a contains error information returned
4xx
status, related error messages are
contained within this exception.- Since:
- 0.1.0
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorDescriptionInvalidTokenException
(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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.okta.sdk.error.Error
getMessage
-
Field Details
-
ERROR_CODE
- See Also:
-
-
Constructor Details
-
InvalidTokenException
public InvalidTokenException(com.okta.sdk.error.Error error) -
InvalidTokenException
public InvalidTokenException(com.okta.sdk.resource.ResourceException e)
-