fatalerror.java

来自「GJC编译器的源代码。是一个开放源代码的工业级编译器。」· Java 代码 · 共 33 行

JAVA
33
字号
/**
 * @(#)FatalError.java	1.7 03/01/23
 *
 * Copyright 2003 Sun Microsystems, Inc. All rights reserved.
 * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 */
package com.sun.tools.javac.v8.util;

/**
 * Throwing an instance of this class causes immediate termination
 *  of the main compiler method.  It is used when some non-recoverable
 *  error has been detected in the compiler environment at runtime.
 */
public class FatalError extends Error {

    /**
     * Construct a <code>FatalError</code> with no detail message.
     */
    public FatalError() {
        super();
    }

    /**
      * Construct a <code>FatalError</code> with the specified detail message.
      *  @param s A string describing the failure (in most cases, this will be
      *           a locazlized string preceeded by the localized string
      *           "Fatal Error:").
      */
    public FatalError(String s) {
        super(s);
    }
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?