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