package com.ks.goldcorn.exception;
|
|
import com.ks.lib.common.exception.BaseException;
|
|
public class GoldTradeException extends BaseException {
|
//次数超限
|
public final static int CODE_COUNT_LIMIT = 10011;
|
//频率超限
|
public final static int CODE_FREQUENCY_LIMIT = 10012;
|
//添加记录失败
|
public final static int CODE_ADD_RECORD_FAIL = 20001;
|
//余额不足
|
public final static int CODE_BALANCE_NOT_ENOUGH = 20002;
|
|
public GoldTradeException(int code, String msg) {
|
super(code, msg);
|
}
|
}
|