public class HttpException extends WechatPayException
| Constructor and Description |
|---|
HttpException(HttpRequest httpRequest,
java.lang.Throwable cause)
发送请求失败时调用
|
HttpException(java.lang.String message,
java.lang.Throwable cause)
构造请求参数失败时调用
|
| Modifier and Type | Method and Description |
|---|---|
HttpRequest |
getHttpRequest()
获取HTTP请求
|
static long |
getSerialVersionUID()
获取序列化版本UID
|
public HttpException(java.lang.String message,
java.lang.Throwable cause)
message - 错误信息cause - 引起失败的原始异常public HttpException(HttpRequest httpRequest, java.lang.Throwable cause)
httpRequest - http请求cause - 引起失败的原始异常public static long getSerialVersionUID()
public HttpRequest getHttpRequest()