admin
2022-05-07 15bedcc619b1edb6eb987f9288db7670e5b38c46
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
package com.yeshi.makemoney.app.exception.goldcorn;
 
import com.ks.lib.common.exception.BaseException;
 
public class GoldCornMakeException extends BaseException {
 
    //获取频率受限(时间频率)
    public final static int CODE_GET_FREQUENCY_TIME_LIMIT = 101;
 
    public final static int CODE_GET_FREQUENCY_COUNT_LIMIT = 102;
 
    //添加记录出错
    public final static int CODE_ADD_RECORD_ERROR = 201;
 
 
    private int code;
    private String msg;
 
    public GoldCornMakeException(int code, String msg) {
        super(code, msg);
        this.code = code;
        this.msg = msg;
    }
 
 
}