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 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_FULL = 3001;
 
 
 
    public LiJinGoodsException(int code, String msg) {
        super(code, msg);
    }
 
    public LiJinGoodsException() {
        super();
    }
 
 
    //屏蔽堆栈信息
    @Override
    public synchronized Throwable fillInStackTrace() {
        return this;
    }
}