@Generated(value="org.openapitools.codegen.languages.JavaSmartxClientCodegen") public class ApiException extends Exception
ApiException class.
| 构造器和说明 |
|---|
ApiException()
Constructor for ApiException.
|
ApiException(int code,
Map<String,List<String>> responseHeaders,
String responseBody)
Constructor for ApiException.
|
ApiException(int code,
String message)
Constructor for ApiException.
|
ApiException(int code,
String message,
Map<String,List<String>> responseHeaders,
String responseBody)
Constructor for ApiException.
|
ApiException(String message)
Constructor for ApiException.
|
ApiException(String message,
int code,
Map<String,List<String>> responseHeaders,
String responseBody)
Constructor for ApiException.
|
ApiException(String message,
Throwable throwable,
int code,
Map<String,List<String>> responseHeaders)
Constructor for ApiException.
|
ApiException(String message,
Throwable throwable,
int code,
Map<String,List<String>> responseHeaders,
String responseBody)
Constructor for ApiException.
|
ApiException(Throwable throwable)
Constructor for ApiException.
|
| 限定符和类型 | 方法和说明 |
|---|---|
int |
getCode()
Get the HTTP status code.
|
String |
getResponseBody()
Get the HTTP response body.
|
Map<String,List<String>> |
getResponseHeaders()
Get the HTTP response headers.
|
public ApiException()
Constructor for ApiException.
public ApiException(Throwable throwable)
Constructor for ApiException.
throwable - a Throwable objectpublic ApiException(String message)
Constructor for ApiException.
message - the error messagepublic ApiException(String message, Throwable throwable, int code, Map<String,List<String>> responseHeaders, String responseBody)
Constructor for ApiException.
public ApiException(String message, int code, Map<String,List<String>> responseHeaders, String responseBody)
Constructor for ApiException.
message - the error messagecode - HTTP status coderesponseHeaders - a Map of HTTP response headersresponseBody - the response bodypublic ApiException(String message, Throwable throwable, int code, Map<String,List<String>> responseHeaders)
Constructor for ApiException.
public ApiException(int code,
Map<String,List<String>> responseHeaders,
String responseBody)
Constructor for ApiException.
code - HTTP status coderesponseHeaders - a Map of HTTP response headersresponseBody - the response bodypublic ApiException(int code,
String message)
Constructor for ApiException.
code - HTTP status codemessage - a String objectpublic int getCode()
public Map<String,List<String>> getResponseHeaders()
public String getResponseBody()
Copyright © 2025. All rights reserved.