public final class MagicNotImplementedException extends OperationNotImplementedException
OptimizingCompilerException.IllegalUpcast
Modifier and Type | Field and Description |
---|---|
boolean |
isExpected
A very few magics, we have no intention of ever implementing
in the opt compiler.
|
(package private) static long |
serialVersionUID
Support for exception serialization
|
isFatal
Modifier | Constructor and Description |
---|---|
private |
MagicNotImplementedException(String s,
boolean isExpected) |
Modifier and Type | Method and Description |
---|---|
static MagicNotImplementedException |
EXPECTED(String s)
Create a MagicNotImplemented exception with message
s when we
encounter a magic that we have decided to not implement in the opt
compiler. |
static MagicNotImplementedException |
UNEXPECTED(String s)
Create a MagicNotImplemented exception with message
s when we
encounter a magic that we have decided to not implement in the opt
compiler. |
opt_assert, opt_assert, TODO, TODO, trace, UNREACHABLE, UNREACHABLE, UNREACHABLE, UNREACHABLE
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
static final long serialVersionUID
public final boolean isExpected
private MagicNotImplementedException(String s, boolean isExpected)
public static MagicNotImplementedException EXPECTED(String s)
s
when we
encounter a magic that we have decided to not implement in the opt
compiler.s
- The message for the exception.public static MagicNotImplementedException UNEXPECTED(String s)
s
when we
encounter a magic that we have decided to not implement in the opt
compiler.s
- The exception's message