package com.taoke.autopay.exception;
|
|
/**
|
* @author hxh
|
* @title: LoginException
|
* @description: 口令验证
|
* @date 2024/6/14 18:46
|
*/
|
public class KeyVerifyException extends Exception{
|
public final static int CODE_COMMON = 1;
|
public final static int CODE_ORDER_MONEY_NOT_MATCH = 10;
|
public final static int CODE_KEY_MONEY_NOT_MATCH = 11;
|
public final static int CODE_ORDER_STATUS_ERROR = 12;
|
public final static int CODE_ORDER_TYPE_ERROR = 13;
|
|
|
private int code;
|
|
|
public int getCode() {
|
return code;
|
}
|
|
public KeyVerifyException(int code, String msg){
|
super(msg);
|
this.code = code;
|
}
|
|
}
|