@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-07-14T23:40:43.026Z[Etc/UTC]") public class ApiException extends RuntimeException
Constructor and Description |
---|
ApiException() |
ApiException(int code,
Map<String,List<String>> responseHeaders,
String responseBody) |
ApiException(int code,
String message) |
ApiException(int code,
String message,
Map<String,List<String>> responseHeaders,
String responseBody) |
ApiException(String message) |
ApiException(String message,
int code,
Map<String,List<String>> responseHeaders,
String responseBody) |
ApiException(String message,
Throwable throwable,
int code,
Map<String,List<String>> responseHeaders) |
ApiException(String message,
Throwable throwable,
int code,
Map<String,List<String>> responseHeaders,
String responseBody) |
ApiException(Throwable throwable) |
Modifier and Type | Method and Description |
---|---|
int |
getCode()
Get the HTTP status code.
|
String |
getResponseBody()
Get the HTTP response body.
|
Map<String,List<String>> |
getResponseHeaders()
Get the HTTP response headers.
|
String |
toString() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public ApiException()
public ApiException(Throwable throwable)
public ApiException(String message)
public ApiException(String message, Throwable throwable, int code, Map<String,List<String>> responseHeaders, String responseBody)
public ApiException(String message, int code, Map<String,List<String>> responseHeaders, String responseBody)
public ApiException(String message, Throwable throwable, int code, Map<String,List<String>> responseHeaders)
public ApiException(int code, Map<String,List<String>> responseHeaders, String responseBody)
public ApiException(int code, String message)
public int getCode()
public Map<String,List<String>> getResponseHeaders()
public String getResponseBody()
Copyright © 2017–2023 Okta. All rights reserved.