📄 commexception.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 + -