@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
| 构造器和说明 |
|---|
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) |
| 限定符和类型 | 方法和说明 |
|---|---|
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() |
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, 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()
Copyright © 2024. All rights reserved.