public class InternalCompilerException extends RuntimeException
Modifier and Type | Class and Description |
---|---|
static class |
InternalCompilerException.NodeInfo
Information regarding a node that was being processed when an
InternalCompilerException was thrown.
|
Constructor and Description |
---|
InternalCompilerException(HasSourceInfo node,
String message,
Throwable cause)
Constructs a new exception with the specified node, message, and cause.
|
InternalCompilerException(String message)
Constructs a new exception with the specified message.
|
InternalCompilerException(String message,
Throwable cause)
Constructs a new exception with the specified message and cause.
|
Modifier and Type | Method and Description |
---|---|
void |
addNode(HasSourceInfo node)
Adds a node to the end of the node trace.
|
void |
addNode(String className,
String description,
SourceInfo sourceInfo)
Adds information about a a node to the end of the node trace.
|
List<InternalCompilerException.NodeInfo> |
getNodeTrace()
Returns a list of nodes that were being processed when this exception was
thrown.
|
static void |
preload()
Force this class to be preloaded.
|
addSuppressed, fillInStackTrace, getBackingJsObject, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, of, printStackTrace, printStackTrace, setStackTrace, toString
public InternalCompilerException(HasSourceInfo node, String message, Throwable cause)
public InternalCompilerException(String message)
public static void preload()
public void addNode(HasSourceInfo node)
public void addNode(String className, String description, SourceInfo sourceInfo)
public List<InternalCompilerException.NodeInfo> getNodeTrace()
Copyright © 2018. All rights reserved.