admin
2021-06-23 b47f8a03db79bb1f6356479cd8a5cf190d7d9694
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
package com.ks.vip.exception;
 
import com.ks.lib.common.exception.BaseException;
 
public class OrderPayException extends BaseException {
 
 
    //已经支付
    public final static int CODE_ALREADY_PAY = 10001;
 
    //支付方式不存在
    public final static int CODE_PAY_WAY_NOT_EXIST = 10002;
 
    //付款失败
    public final static int CODE_PAY_FAIL = 10003;
 
    //创建支付订单失败
    public final static int CODE_CREATE_PAY_ORDER_FAIL = 20001;
 
    //接口请求出错
    public final static int CODE_API_ERROR = 20002;
 
    public OrderPayException(int code, String msg) {
        super(code, msg);
    }
 
    public OrderPayException() {
        super();
    }
 
 
    @Override
    public synchronized Throwable fillInStackTrace() {
        return this;
    }
}