📄 fatalruntimeexception.java
字号:
/* @LICENSE_COPYRIGHT@ */package net.sf.irunninglog.util;/** * Application-specific runtime exception used to indicate that an * unrecoverable error has occurred. This should be thrown from any places * where an error from which the application cannot recover has been * encountered where it does not make sense to throw a non-runtime * <code>Exception</code> instance. * * @author <a href="mailto:allan_e_lewis@yahoo.com">Allan Lewis</a> * @version $Revision: 1.1.1.1 $ $Date: 2005/06/23 01:49:03 $ * @since iRunningLog 1.0 */public class FatalRuntimeException extends RuntimeException { /** Default message to be used as the exception's detail message. */ private static final String DEFAULT_MESSAGE = "An unrecoverable application exception has occurred."; /** * Create a new exception. The exception will be created using the * default error message for this class. */ public FatalRuntimeException() { super(DEFAULT_MESSAGE); } /** * Create a new exception, caused by a specified exception. The exception * will be created using the default error message, and will have the * input exception as its cause. * * @param cause The exception that caused this exception */ public FatalRuntimeException(Throwable cause) { super(DEFAULT_MESSAGE, cause); }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -