m_error.java
来自「简易模拟电梯系统」· Java 代码 · 共 29 行
JAVA
29 行
package myException;
//File name: m_Error.java
//author jiaben
//auther jiaben02@software.nju.edu.cn
//Copyright jiaben
import java.lang.Throwable;
public class m_Error extends Throwable
{
//Empty Constructor
public m_Error()
{
super();
}
//A constructor use a str value as its parameter
public m_Error(String str)
{
super(str);
}
//The same as the one below
public m_Error(String message, Throwable cause)
{
super(message, cause);
}
//The same as the one below
public m_Error(Throwable cause)
{
super(cause);
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?