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

📄 beansexception.java

📁 该源码包括了基于J2EE的数据持久层设计,设计中使用了DAO,Service,等模式,并在Struts下进行了测试.
💻 JAVA
字号:
package org.conference.pagination;

/**
 * <p><strong>BeansException</strong>,
 * Exception thrown when the bean processing fails.</p>
 *
 * <p>The original error is wrapped within this one.</p>
 *
 * <p>Note that this is a runtime (unchecked) exception. Beans exceptions
 * are usually fatal; there is no reason for them to be checked.
 *
 * @author   ZXM
 * @package  gov.cd.gzcx.pagination
 * @since 3.0
 */
public abstract class BeansException
    extends RuntimeException {

  /**
   * Create a new BeansException with the specified message without specified
   * detail message.</p>
   */
  public BeansException() {
    super();
  }

  /**
   * Create a new BeansException with the specified message with specified
   * nested <code>Throwable</code>.</p>
   *
   * @param ex The <code>Exception</code> or <code>Error</code> that caused
   *   this exception to be thrown.
   */
  public BeansException(Throwable ex) {
    super(ex);
  }

  /**
   * Create a new BeansException with the specified message.
   * @param msg the detail message
   */
  public BeansException(String msg) {
    super(msg);
  }

  /**
   * Create a new BeansException with the specified message
   * and root cause.
   * @param msg the detail message
   * @param ex the root cause
   */
  public BeansException(String msg, Throwable ex) {
    super(msg, ex);
  }

}

⌨️ 快捷键说明

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