Top Description Fields Constructors Methods
org.antlr.runtime.tree

public Class RewriteCardinalityException

extends RuntimeException
Class Inheritance
Known Direct Subclasses
org.antlr.runtime.tree.RewriteEarlyExitException, org.antlr.runtime.tree.RewriteEmptyStreamException

Base class for all exceptions thrown during AST rewrite construction. This signifies a case where the cardinality of two or more elements in a subrule are different: (ID INT)+ where |ID|!=|INT|

Field Summary

Modifier and TypeField and Description
public String

Constructor Summary

AccessConstructor and Description
public
RewriteCardinalityException(String elementDescription)

Method Summary

Modifier and TypeMethod and Description
public String
getMessage()

Overrides java.lang.Throwable.getMessage.

Returns the detail message string of this throwable.

Field Detail

elementDescriptionback to summary
public String elementDescription

Constructor Detail

RewriteCardinalityExceptionback to summary
public RewriteCardinalityException(String elementDescription)

Method Detail

getMessageback to summary
public String getMessage()

Overrides java.lang.Throwable.getMessage.

Doc from java.lang.Throwable.getMessage.

Returns the detail message string of this throwable.

Returns:String

the detail message string of this Throwable instance (which may be null).

Annotations
@Override