@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-07-18T20:37:01.807093Z[Etc/UTC]")
public class ApiException
extends java.lang.Exception
ApiException class.
| Constructor and Description |
|---|
ApiException()
Constructor for ApiException.
|
ApiException(int code,
java.util.Map<java.lang.String,java.util.List<java.lang.String>> responseHeaders,
java.lang.String responseBody)
Constructor for ApiException.
|
ApiException(int code,
java.lang.String message)
Constructor for ApiException.
|
ApiException(int code,
java.lang.String message,
java.util.Map<java.lang.String,java.util.List<java.lang.String>> responseHeaders,
java.lang.String responseBody)
Constructor for ApiException.
|
ApiException(java.lang.String message)
Constructor for ApiException.
|
ApiException(java.lang.String message,
int code,
java.util.Map<java.lang.String,java.util.List<java.lang.String>> responseHeaders,
java.lang.String responseBody)
Constructor for ApiException.
|
ApiException(java.lang.String message,
java.lang.Throwable throwable,
int code,
java.util.Map<java.lang.String,java.util.List<java.lang.String>> responseHeaders)
Constructor for ApiException.
|
ApiException(java.lang.String message,
java.lang.Throwable throwable,
int code,
java.util.Map<java.lang.String,java.util.List<java.lang.String>> responseHeaders,
java.lang.String responseBody)
Constructor for ApiException.
|
ApiException(java.lang.Throwable throwable)
Constructor for ApiException.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getCode()
Get the HTTP status code.
|
java.lang.String |
getMessage()
Get the exception message including HTTP response data.
|
java.lang.String |
getResponseBody()
Get the HTTP response body.
|
java.util.Map<java.lang.String,java.util.List<java.lang.String>> |
getResponseHeaders()
Get the HTTP response headers.
|
public ApiException()
Constructor for ApiException.
public ApiException(java.lang.Throwable throwable)
Constructor for ApiException.
throwable - a Throwable objectpublic ApiException(java.lang.String message)
Constructor for ApiException.
message - the error messagepublic ApiException(java.lang.String message,
java.lang.Throwable throwable,
int code,
java.util.Map<java.lang.String,java.util.List<java.lang.String>> responseHeaders,
java.lang.String responseBody)
Constructor for ApiException.
message - the error messagethrowable - a Throwable objectcode - HTTP status coderesponseHeaders - a Map of HTTP response headersresponseBody - the response bodypublic ApiException(java.lang.String message,
int code,
java.util.Map<java.lang.String,java.util.List<java.lang.String>> responseHeaders,
java.lang.String responseBody)
Constructor for ApiException.
message - the error messagecode - HTTP status coderesponseHeaders - a Map of HTTP response headersresponseBody - the response bodypublic ApiException(java.lang.String message,
java.lang.Throwable throwable,
int code,
java.util.Map<java.lang.String,java.util.List<java.lang.String>> responseHeaders)
Constructor for ApiException.
message - the error messagethrowable - a Throwable objectcode - HTTP status coderesponseHeaders - a Map of HTTP response headerspublic ApiException(int code,
java.util.Map<java.lang.String,java.util.List<java.lang.String>> responseHeaders,
java.lang.String responseBody)
Constructor for ApiException.
code - HTTP status coderesponseHeaders - a Map of HTTP response headersresponseBody - the response bodypublic ApiException(int code,
java.lang.String message)
Constructor for ApiException.
code - HTTP status codemessage - a String objectpublic ApiException(int code,
java.lang.String message,
java.util.Map<java.lang.String,java.util.List<java.lang.String>> responseHeaders,
java.lang.String responseBody)
Constructor for ApiException.
code - HTTP status codemessage - the error messageresponseHeaders - a Map of HTTP response headersresponseBody - the response bodypublic int getCode()
public java.util.Map<java.lang.String,java.util.List<java.lang.String>> getResponseHeaders()
public java.lang.String getResponseBody()
public java.lang.String getMessage()
getMessage in class java.lang.Throwable