public class FatalError extends Error
This is NOT part of any supported API. 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.
Constructor and Description |
---|
FatalError(JCDiagnostic d)
Construct a
FatalError with the specified detail message. |
FatalError(JCDiagnostic d,
Throwable t)
Construct a
FatalError with the specified detail message
and cause. |
FatalError(String s)
Construct a
FatalError with the specified detail message. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public FatalError(JCDiagnostic d)
FatalError
with the specified detail message.d
- A diagnostic containing the reason for failure.public FatalError(JCDiagnostic d, Throwable t)
FatalError
with the specified detail message
and cause.d
- A diagnostic containing the reason for failure.t
- An exception causing the errorpublic FatalError(String s)
FatalError
with the specified detail message.s
- An English(!) string describing the failure, typically because
the diagnostic resources are missing.Copyright © 2015. All rights reserved.