⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 appexception.java

📁 尚学堂科技_王勇_JAVA视频教程_Hibernate源代码及重要说明
💻 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 + -