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; // 订单号重复提交 public final static int CODE_ORDER_NO_REPEAT = 14; private int code; public int getCode() { return code; } public KeyVerifyException(int code, String msg){ super(msg); this.code = code; } }