businessexception.java

来自「基于struts的一个异常处理框架,采用aop原理来统一处理异常。」· Java 代码 · 共 30 行

JAVA
30
字号
package org.expframework.exceptions;

/**
 * A base class for all business related exceptions.
 * 
 * <p>
 * <b>Overview: </b>
 * <p>
 * All business exceptions should inherit from <code>BusinessException</code>.
 * Exceptions can be defined based on business scenarios.
 * 
 * @author ShriKant
 * 
 * @version 1.0
 */
public class BusinessException extends BaseAppException {

    static final long serialVersionUID = 4157262600607325995L;

    /**
     * a public constructor for <code>BusinessException</code>.
     * 
     * @param msg
     *            exception message.
     *  
     */
    public BusinessException(String msg) {
        super(msg);
    }
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?