| Constructor and Description |
|---|
NonJsonError(int status,
String message) |
NonJsonError(String message)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
List<ErrorCause> |
getCauses()
Returns the list of causes of this error.
|
String |
getCode()
Returns the Okta specific error code.
|
Map<String,List<String>> |
getHeaders()
Returns the HTTP headers associated with this error response.
|
String |
getId()
Returns the error ID of this error.
|
String |
getMessage()
Returns the detail message string of this error.
|
int |
getStatus()
Returns this error's HTTP status code.
|
@Deprecated public NonJsonError(String message)
public NonJsonError(int status,
String message)
public int getStatus()
Errorpublic String getCode()
Errorpublic String getMessage()
ErrorgetMessage in interface Errorpublic String getId()
Errorpublic List<ErrorCause> getCauses()
ErrorCopyright © 2017–2023 Okta. All rights reserved.