public final class VMError extends Object
Modifier and Type | Class and Description |
---|---|
static class |
VMError.HostedError
Implementation note: During native image generation, a HostedError is thrown to indicate a
fatal error.
|
Constructor and Description |
---|
VMError() |
Modifier and Type | Method and Description |
---|---|
static void |
guarantee(boolean condition) |
static void |
guarantee(boolean condition,
String msg) |
static boolean |
hostedError(Throwable t) |
static RuntimeException |
shouldNotReachHere() |
static RuntimeException |
shouldNotReachHere(String msg) |
static RuntimeException |
shouldNotReachHere(String msg,
Throwable cause) |
static RuntimeException |
shouldNotReachHere(Throwable ex) |
static RuntimeException |
unimplemented() |
static RuntimeException |
unsupportedFeature(String msg) |
public static RuntimeException shouldNotReachHere()
public static RuntimeException shouldNotReachHere(String msg)
public static RuntimeException shouldNotReachHere(Throwable ex)
public static RuntimeException shouldNotReachHere(String msg, Throwable cause)
public static void guarantee(boolean condition)
public static void guarantee(boolean condition, String msg)
public static RuntimeException unimplemented()
public static RuntimeException unsupportedFeature(String msg)
public static boolean hostedError(Throwable t)