ursmailerexception.java

来自「100多M的J2EE培训内容」· Java 代码 · 共 23 行

JAVA
23
字号
package day21ex.mailer;

/**
 * This exception is thrown by the mailer component
 * when it failed while sending an email message.
 */

public class URSMailerException extends Exception {

    /**
     * Default constructor. Takes no arguments
     */
    public URSMailerException() {}

    /**
     * Constructor
     * @param msg    a string that explains the condition of the exception
     */
    public URSMailerException(String msg) {
        super(msg);
    }
}

⌨️ 快捷键说明

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