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;
|
}
|
}
|