com.sun.tools.javac.util
Class FatalError
java.lang.Object
java.lang.Throwable
java.lang.Error
com.sun.tools.javac.util.FatalError
- All Implemented Interfaces:
- java.io.Serializable
public class FatalError
- extends java.lang.Error
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.
This is NOT part of any API supported by Sun Microsystems. If
you write code that depends on this, you do so at your own risk.
This code and its internal interfaces are subject to change or
deletion without notice.
- See Also:
- Serialized Form
|
Constructor Summary |
FatalError()
Construct a FatalError with no detail message. |
FatalError(JCDiagnostic d)
Construct a FatalError with the specified detail message. |
FatalError(java.lang.String s)
Construct a FatalError with the specified detail message. |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
FatalError
public FatalError()
- Construct a
FatalError with no detail message.
FatalError
public FatalError(JCDiagnostic d)
- Construct a
FatalError with the specified detail message.
- Parameters:
d - A diagnostic containing the reason for failure.
FatalError
public FatalError(java.lang.String s)
- Construct a
FatalError with the specified detail message.
- Parameters:
s - An English(!) string describing the failure, typically because
the diagnostic resources are missing.