| java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException com.google.gwt.dev.jjs.InternalCompilerException
InternalCompilerException | public class InternalCompilerException extends RuntimeException (Code) | | Indicates the compiler encountered an unexpected and unsupported state of
operation.
|
Inner Class :final public static class NodeInfo | |
Method Summary | |
public void | addNode(HasSourceInfo node) Adds a node to the end of the node trace. | public void | addNode(String className, String description, SourceInfo sourceInfo) Adds information about a a node to the end of the node trace. | public List<NodeInfo> | getNodeTrace() Returns a list of nodes that were being processed when this exception was
thrown. |
InternalCompilerException | public InternalCompilerException(HasSourceInfo node, String message, Throwable cause)(Code) | | Constructs a new exception with the specified node, message, and cause.
|
InternalCompilerException | public InternalCompilerException(String message)(Code) | | Constructs a new exception with the specified message.
|
InternalCompilerException | public InternalCompilerException(String message, Throwable cause)(Code) | | Constructs a new exception with the specified message and cause.
|
addNode | public void addNode(HasSourceInfo node)(Code) | | Adds a node to the end of the node trace. This is similar to how a stack
trace works.
|
addNode | public void addNode(String className, String description, SourceInfo sourceInfo)(Code) | | Adds information about a a node to the end of the node trace. This is
similar to how a stack trace works.
|
getNodeTrace | public List<NodeInfo> getNodeTrace()(Code) | | Returns a list of nodes that were being processed when this exception was
thrown. The list reflects the parent-child relationships of the AST and is
is in order from children to parents. The first element of the returned
list is the node that was most specifically being visited when the
exception was thrown.
|
|
|