Package com.okta.authn.sdk
Class InvalidAuthenticationStateException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.okta.authn.sdk.AuthenticationException
com.okta.authn.sdk.InvalidAuthenticationStateException
- All Implemented Interfaces:
com.okta.sdk.error.Error
,Serializable
Operation not allowed from the current authentication state. 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
ConstructorDescriptionInvalidAuthenticationStateException
(com.okta.sdk.error.Error error) InvalidAuthenticationStateException
(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
-
InvalidAuthenticationStateException
public InvalidAuthenticationStateException(com.okta.sdk.error.Error error) -
InvalidAuthenticationStateException
public InvalidAuthenticationStateException(com.okta.sdk.resource.ResourceException e)
-