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

📄 commexception.java

📁 一个javaweb开的小例子
💻 JAVA
字号:
package cn.com.pkusoft.comm;

/**
 * <p>Title: </p>
 * <p>Description: </p>
 * <p>Copyright: Copyright (c) 2004</p>
 * <p>Company: pku-soft</p>
 * @author weiming
 * @version 1.0
 */

public class CommException
    extends Exception
{
    public CommException()
    {
    }

    public CommException(String msg)
    {
        super(msg);

        //if need to do same thing , can do it here.
        // for example, to write into a special error log file.
        //              or to send a email to system adminstrator . and so so.
        // here now just to output to console.
        System.out.println("have get a msg, do you need it?" + msg);
    }

}

⌨️ 快捷键说明

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