@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-05-07T11:42:47.246+01:00[Europe/London]") public class ApiException extends Exception
| Constructor and Description |
|---|
ApiException() |
ApiException(int code,
Map<String,List<String>> responseHeaders,
String responseBody) |
ApiException(int code,
Map<String,List<String>> responseHeaders,
String responseBody,
GenericError error) |
ApiException(int code,
String message) |
ApiException(int code,
String message,
GenericError error) |
ApiException(int code,
String message,
Map<String,List<String>> responseHeaders,
String responseBody) |
ApiException(int code,
String message,
Map<String,List<String>> responseHeaders,
String responseBody,
GenericError error) |
ApiException(String message) |
ApiException(String message,
int code,
Map<String,List<String>> responseHeaders,
String responseBody) |
ApiException(String message,
int code,
Map<String,List<String>> responseHeaders,
String responseBody,
GenericError error) |
ApiException(String message,
Throwable throwable,
int code,
Map<String,List<String>> responseHeaders) |
ApiException(String message,
Throwable throwable,
int code,
Map<String,List<String>> responseHeaders,
GenericError error) |
ApiException(String message,
Throwable throwable,
int code,
Map<String,List<String>> responseHeaders,
String responseBody) |
ApiException(String message,
Throwable throwable,
int code,
Map<String,List<String>> responseHeaders,
String responseBody,
GenericError error) |
ApiException(Throwable throwable) |
| Modifier and Type | Method and Description |
|---|---|
int |
getCode()
Get the HTTP status code.
|
GenericError |
getError()
Get the error object
|
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, setStackTracepublic 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, Throwable throwable, int code, Map<String,List<String>> responseHeaders, String responseBody, GenericError error)
public ApiException(String message, int code, Map<String,List<String>> responseHeaders, String responseBody)
public ApiException(String message, int code, Map<String,List<String>> responseHeaders, String responseBody, GenericError error)
public ApiException(String message, Throwable throwable, int code, Map<String,List<String>> responseHeaders)
public ApiException(String message, Throwable throwable, int code, Map<String,List<String>> responseHeaders, GenericError error)
public ApiException(int code,
Map<String,List<String>> responseHeaders,
String responseBody)
public ApiException(int code,
Map<String,List<String>> responseHeaders,
String responseBody,
GenericError error)
public ApiException(int code,
String message)
public ApiException(int code,
String message,
GenericError error)
public ApiException(int code,
String message,
Map<String,List<String>> responseHeaders,
String responseBody)
public int getCode()
public Map<String,List<String>> getResponseHeaders()
public String getResponseBody()
public GenericError getError()
Copyright © 2024. All rights reserved.