beansexception.java

来自「该源码包括了基于J2EE的数据持久层设计,设计中使用了DAO,Service,等」· Java 代码 · 共 56 行

JAVA
56
字号
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 + =
减小字号Ctrl + -
显示快捷键?