generalexception.java

来自「这是一个mvc模式」· Java 代码 · 共 46 行

JAVA
46
字号
package jsp.tags.dapact.util;

/**
 * Title:        Data Aware Processing And Control Tags
 * Description:  Tag library for the processing and controlling the input and output of data.
 * Copyright:    LGPL (http://www.gnu.org/copyleft/lesser.html)
 * Compile Date: @compile_date@      
 * @author Allen M Servedio
 * @amp_sign@version @VERSION@
 */

/**
 * General Chained Exception - an exception that is not specific to any one process.
 */
public class GeneralException extends BaseChainedException
{
  /**
   * Default constructor.
   */
  public GeneralException()
  {
    super();
  }

  /**
   * Constructor with message.
   *
   * @param msg the error message to be displayed to the user.
   */
  public GeneralException(String msg)
  {
    super(msg);
  }

  /**
   * Constructor with message and throwable exception.
   *
   * @param msg the error message to be displayed to the user.
   * @param prevException the execption to chain to this one.
   */
  public GeneralException(String msg, Throwable prevException)
  {
    super(msg, prevException);
  }
}

⌨️ 快捷键说明

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