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;
|
}
|
}
|