admin
2021-05-06 42f05d2b835ed1ee41ca32cf76fe11849a890cb4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package com.ks.goldcorn.exception;
 
import com.ks.lib.common.exception.BaseException;
 
public class GoldTradeException extends BaseException {
    //次数超限
    public final static int CODE_COUNT_LIMIT = 10011;
    //频率超限
    public final static int CODE_FREQUENCY_LIMIT = 10012;
    //添加记录失败
    public final static int CODE_ADD_RECORD_FAIL = 20001;
    //余额不足
    public final static int CODE_BALANCE_NOT_ENOUGH = 20002;
 
    public GoldTradeException(int code, String msg) {
        super(code, msg);
    }
}