1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
| package com.walker.wxtools.spider;
|
| /**
| * 微信请求异常定义。
| * @author 时克英
| * @date 2023-04-26
| */
| public class RequestException extends Exception{
|
| public RequestException(boolean responseError, String msg, Throwable caution){
| super(msg, caution);
| this.responseError = responseError;
| }
|
| /**
| * (远程调用完成)是否响应状态码错误
| * @return
| */
| public boolean isResponseError() {
| return responseError;
| }
|
| private boolean responseError = true;
| }
|
|