@Generated(value="io.swagger.codegen.v3.generators.java.JavaClientCodegen", date="2022-03-17T19:20:18.609954+08:00[Asia/Shanghai]") 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,
ResponseMetadata responseMetadata) |
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,
int code,
Map<String,List<String>> responseHeaders,
String responseBody,
ResponseMetadata responseMetadata) |
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(String message,
Throwable throwable,
int code,
Map<String,List<String>> responseHeaders,
String responseBody,
ResponseMetadata metadata) |
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.
|
ResponseMetadata |
getResponseMetadata() |
void |
setResponseMetadata(ResponseMetadata responseMetadata) |
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, ResponseMetadata metadata)
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, ResponseMetadata responseMetadata)
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,
Map<String,List<String>> responseHeaders,
String responseBody,
ResponseMetadata responseMetadata)
public ApiException(int code,
String message)
public int getCode()
public Map<String,List<String>> getResponseHeaders()
public String getResponseBody()
public ResponseMetadata getResponseMetadata()
public void setResponseMetadata(ResponseMetadata responseMetadata)
Copyright © 2025. All rights reserved.