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

📄 fatalruntimeexception.java

📁 A Java web application, based on Struts and Hibernate, that serves as an online running log. Users m
💻 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 + -