admin
2021-06-30 a3304721c2e45e0f2ebd3139fdd623353f2ac72a
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
package com.ks.lijin.exception;
 
import com.ks.lib.common.exception.BaseException;
 
/**
 * 礼金用户异常
 */
public class LiJinUserException extends BaseException {
 
    //用户创建淘礼金的次数超限
    public final static int CODE_USER_CREATE_NUM_LIMIT = 2001;
    //用户创建淘礼金的金额超限
    public final static int CODE_USER_CREATE_MONEY_LIMIT = 2002;
    //用户余额不足
    public final static int CODE_USER_BALANCE_NOT_ENOUGH = 2003;
 
 
    public LiJinUserException(int code, String msg) {
        super(code, msg);
    }
 
    public LiJinUserException() {
        super();
    }
 
 
    //屏蔽堆栈信息
    @Override
    public synchronized Throwable fillInStackTrace() {
        return this;
    }
}