public class AuthenticationException extends 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 |
---|---|
List<com.okta.sdk.error.ErrorCause> |
getCauses() |
String |
getCode()
Get the Okta Error Code, click here for the
list of Okta error codes.
|
Map<String,List<String>> |
getHeaders() |
String |
getId() |
int |
getStatus() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public 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.Error
public String getCode()
getCode
in interface com.okta.sdk.error.Error
public String getId()
getId
in interface com.okta.sdk.error.Error
public List<com.okta.sdk.error.ErrorCause> getCauses()
getCauses
in interface com.okta.sdk.error.Error
Copyright © 2018 Okta. All rights reserved.