public class AuthenticationException
extends java.lang.Exception
implements com.okta.sdk.error.Error
4xx status, related error messages are
contained within this exception.| Constructor and Description |
|---|
AuthenticationException(com.okta.sdk.error.Error error) |
AuthenticationException(com.okta.sdk.resource.ResourceException e) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<com.okta.sdk.error.ErrorCause> |
getCauses() |
java.lang.String |
getCode()
Get the Okta Error Code, click here for the
list of Okta error codes.
|
java.util.Map<java.lang.String,java.util.List<java.lang.String>> |
getHeaders() |
java.lang.String |
getId() |
int |
getStatus() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic AuthenticationException(com.okta.sdk.error.Error error)
public AuthenticationException(com.okta.sdk.resource.ResourceException e)
public int getStatus()
getStatus in interface com.okta.sdk.error.Errorpublic java.lang.String getCode()
getCode in interface com.okta.sdk.error.Errorpublic java.lang.String getId()
getId in interface com.okta.sdk.error.Errorpublic java.util.List<com.okta.sdk.error.ErrorCause> getCauses()
getCauses in interface com.okta.sdk.error.Errorpublic java.util.Map<java.lang.String,java.util.List<java.lang.String>> getHeaders()
getHeaders in interface com.okta.sdk.error.ErrorCopyright © 2018-2022 Okta. All Rights Reserved.