Package com.okta.authn.sdk
Class AuthenticationFailureException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.okta.authn.sdk.AuthenticationException
com.okta.authn.sdk.AuthenticationFailureException
- All Implemented Interfaces:
com.okta.sdk.error.Error
,Serializable
Authentication/login attempt failure. 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
ConstructorDescriptionAuthenticationFailureException
(com.okta.sdk.error.Error error) AuthenticationFailureException
(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
-
AuthenticationFailureException
public AuthenticationFailureException(com.okta.sdk.error.Error error) -
AuthenticationFailureException
public AuthenticationFailureException(com.okta.sdk.resource.ResourceException e)
-