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

📄 customerexception.java

📁 A J2EE & Jsp Example
💻 JAVA
字号:
/* * * Copyright 2003 Sun Microsystems, Inc. All Rights Reserved. *  * This software is the proprietary information of Sun Microsystems, Inc.   * Use is subject to license terms. * The code in this example is offered under the license at:  * http://wireless.java.sun.com/berkeley_license.html * */package customerejb;public class CustomerException extends Exception {    /** Creates an empty CustomerException */    public CustomerException() {    }    /**     * Constructs an <code>CustomerException</code> with the specified detail message.     *     * @param msg the detail message.     */    public CustomerException(String msg) {        super(msg);    }    /**     * Constructs an <code>CustomerException</code> with the specified detail message     * and cause message.     *     * @param msg the detail message.     * @param causeMsg the cause of the exception     */    public CustomerException(String msg, String causeMsg) {        super(msg + causeMsg);    }    /**     * Constructs an <code>CustomerException</code> with the specified detail message     * and using the specified Throwable as the root cause for this Exception.     *     * @param msg the detail message.     * @param th the Throwable which caused this CustomerException to be created     */    public CustomerException(String msg, Throwable th) {        super(msg, th);    }    /**     * Constructs an <code>CustomerException</code> without a detail message and using     * the specified Throwable as the root cause for this Exception.     *     * @param th the Throwable which caused this CustomerException to be created     */    public CustomerException(Throwable th) {        super(th);    }}

⌨️ 快捷键说明

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