📄 appexception.java
字号:
package com.bjsxt.drp.business.util;
public class AppException extends RuntimeException {
private Object[] args;
private String errorCode;
public AppException (String errorCode) {
this.errorCode = errorCode;
}
public AppException(String errorCode, String args0) {
this(errorCode, new Object[]{args0});
}
public AppException(String errorCode, Object[] args) {
this.errorCode = errorCode;
this.args = args;
}
public String getErrorCode() {
return this.errorCode;
}
public Object[] getArgs() {
return args;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -