程序包 com.volcengine
类 ApiException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.volcengine.ApiException
-
- 所有已实现的接口:
Serializable
@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, String message)ApiException(int code, String message, Map<String,List<String>> responseHeaders, String responseBody)ApiException(int code, 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)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 intgetCode()Get the HTTP status code.StringgetResponseBody()Get the HTTP response body.Map<String,List<String>>getResponseHeaders()Get the HTTP response headers.StringtoString()
-
-
-
构造器详细资料
-
ApiException
public ApiException()
-
ApiException
public ApiException(Throwable throwable)
-
ApiException
public ApiException(String message)
-
ApiException
public ApiException(String message, Throwable throwable, int code, Map<String,List<String>> responseHeaders, String responseBody)
-
ApiException
public ApiException(String message, int code, Map<String,List<String>> responseHeaders, String responseBody)
-
ApiException
public ApiException(String message, Throwable throwable, int code, Map<String,List<String>> responseHeaders)
-
ApiException
public ApiException(int code, Map<String,List<String>> responseHeaders, String responseBody)
-
ApiException
public ApiException(int code, String message)
-
-
方法详细资料
-
getCode
public int getCode()
Get the HTTP status code.- 返回:
- HTTP status code
-
getResponseHeaders
public Map<String,List<String>> getResponseHeaders()
Get the HTTP response headers.- 返回:
- A map of list of string
-
getResponseBody
public String getResponseBody()
Get the HTTP response body.- 返回:
- Response body in the form of string
-
-