Package org.antlr.runtime.tree
Class RewriteCardinalityException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.antlr.runtime.tree.RewriteCardinalityException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
RewriteEarlyExitException
,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|
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
elementDescription
-
-
Constructor Details
-
RewriteCardinalityException
-
-
Method Details
-
getMessage
- Overrides:
getMessage
in classThrowable
-