YJ
2021-05-17 fd783b378483b85987f42e7e6153869da6e687f7
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
package com.ks.lijin.exception;
 
import com.ks.lib.common.exception.BaseException;
 
/**
 * 礼金商品异常
 */
public class LiJinGoodsException extends BaseException {
    //商品下线
    public final static int CODE_GOODS_OFFLINE = 2001;
    //商品不支持创建淘礼金
    public final static int CODE_GOODS_NOT_SUPPORT = 1001;
    //商品今日创建淘礼金的次数已满
    public final static int CODE_GOODS_CREATED_NUM_FULL = 1002;
 
 
    public LiJinGoodsException(int code, String msg) {
        super(code, msg);
    }
 
    public LiJinGoodsException() {
        super();
    }
 
 
    //屏蔽堆栈信息
    @Override
    public synchronized Throwable fillInStackTrace() {
        return this;
    }
}