📄 inputnotcorrectexception.java
字号:
package com.model;
@SuppressWarnings("serial")
public class InputNotCorrectException extends Exception {
@SuppressWarnings("unused")
private String errorCode;
@SuppressWarnings("unused")
private Object[] args;
public InputNotCorrectException(String errorCode) {
super(errorCode);
}
public InputNotCorrectException(String errorCode,Object[] args) {
this(errorCode);
this.args = args;
}
public InputNotCorrectException(String errorCode,Object arg) {
this(errorCode,new Object[]{arg});
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -