wrongthreadexception.java
来自「简单的迷宫生成算法、复杂的迷宫生成算法、简单的迷宫搜索算法、复杂的迷宫搜索算法」· Java 代码 · 共 24 行
JAVA
24 行
/* ver: 0.1, date 19-12-2007 by Marcel Hekman
* - Two constructors.
*/
package mazeAssignment;
/**
* An exception designed to signal when a function is called from the wrong thread.
* Should generally not be caught and therefore extends RuntimeException.
* @author Hekman
*/
public class WrongThreadException extends RuntimeException
{
private static final long serialVersionUID = 1L;
public WrongThreadException()
{ }
public WrongThreadException(String message)
{
super(message);
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?