public class GraalGraphJVMCIError extends JVMCIError
| Modifier and Type | Field and Description |
|---|---|
private Graph |
graph |
private Node |
node |
private static long |
serialVersionUID |
| Modifier | Constructor and Description |
|---|---|
protected |
GraalGraphJVMCIError(JVMCIError e)
This constructor creates a
GraalGraphJVMCIError from a given JVMCIError instance. |
|
GraalGraphJVMCIError(String msg,
Object... args)
This constructor creates a
GraalGraphJVMCIError with a message assembled via
String.format(String, Object...). |
|
GraalGraphJVMCIError(Throwable cause)
This constructor creates a
GraalGraphJVMCIError for a given causing Throwable
instance. |
| Modifier and Type | Method and Description |
|---|---|
(package private) GraalGraphJVMCIError |
addContext(Graph newGraph)
Adds a graph to the context of this VerificationError.
|
GraalGraphJVMCIError |
addContext(Node newNode)
Adds a node to the context of this VerificationError.
|
Graph |
graph() |
Node |
node() |
static GraalGraphJVMCIError |
transformAndAddContext(JVMCIError e,
Graph newGraph)
Transform a JVMCIError into a GraalGraphInternalError and add a graph to the context.
|
static GraalGraphJVMCIError |
transformAndAddContext(JVMCIError e,
Node newNode)
Transform a JVMCIError into a GraalGraphInternalError and add a node to the context.
|
addContext, addContext, guarantee, shouldNotReachHere, shouldNotReachHere, shouldNotReachHere, toString, unimplemented, unimplementedaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTraceprivate static final long serialVersionUID
public GraalGraphJVMCIError(String msg, Object... args)
GraalGraphJVMCIError with a message assembled via
String.format(String, Object...). It always uses the ENGLISH locale in order to
always generate the same output.msg - the message that will be associated with the error, in String.format syntaxargs - parameters to String.format - parameters that implement Iterable will be
expanded into a [x, x, ...] representation.public GraalGraphJVMCIError(Throwable cause)
GraalGraphJVMCIError for a given causing Throwable
instance.cause - the original exception that contains additional information on this errorprotected GraalGraphJVMCIError(JVMCIError e)
GraalGraphJVMCIError from a given JVMCIError instance.e - the original JVMCIErrorGraalGraphJVMCIError addContext(Graph newGraph)
graph().newGraph - the graph which is in a incorrect state, if the verification error was not
caused by a specific nodepublic GraalGraphJVMCIError addContext(Node newNode)
node().newNode - the node which is in a incorrect state, if the verification error was caused
by a nodepublic static GraalGraphJVMCIError transformAndAddContext(JVMCIError e, Graph newGraph)
e - the previous errornewGraph - the graph which is in a incorrect state, if the verification error was not
caused by a specific nodepublic static GraalGraphJVMCIError transformAndAddContext(JVMCIError e, Node newNode)
e - the previous errornewNode - the node which is in a incorrect state, if the verification error was caused
by a node