@Generated(value="io.swagger.codegen.v3.generators.java.JavaClientCodegen", date="2023-06-01T03:47:02.843655311Z[Etc/UTC]") public class ApiException extends Exception
| 限定符和类型 | 字段和说明 |
|---|---|
private int |
code |
private String |
responseBody |
private Map<String,List<String>> |
responseHeaders |
| 构造器和说明 |
|---|
ApiException() |
ApiException(int code,
Map<String,List<String>> responseHeaders,
String responseBody) |
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,
Throwable throwable,
int code,
Map<String,List<String>> responseHeaders) |
ApiException(String message,
Throwable throwable,
int code,
Map<String,List<String>> responseHeaders,
String responseBody) |
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.
|
private int code
private String responseBody
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, int code, Map<String,List<String>> responseHeaders, String responseBody)
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,
String message)
public int getCode()
public Map<String,List<String>> getResponseHeaders()
public String getResponseBody()
Copyright © 2023. All rights reserved.