Class FailedPredicateException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.antlr.runtime.RecognitionException
org.antlr.runtime.FailedPredicateException
- All Implemented Interfaces:
Serializable
A semantic predicate failed during validation. Validation of predicates
occurs when normally parsing the alternative just like matching a token.
Disambiguating predicate evaluation occurs when we hoist a predicate into
a prediction decision.
- See Also:
-
Field Summary
FieldsFields inherited from class RecognitionException
approximateLineInfo, c, charPositionInLine, index, input, line, node, token -
Constructor Summary
ConstructorsConstructorDescriptionUsed for remote debugger deserializationFailedPredicateException(IntStream input, String ruleName, String predicateText) -
Method Summary
Methods inherited from class RecognitionException
extractInformationFromTreeNodeStream, getUnexpectedTypeMethods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Field Details
-
ruleName
-
predicateText
-
-
Constructor Details
-
FailedPredicateException
public FailedPredicateException()Used for remote debugger deserialization -
FailedPredicateException
-
-
Method Details
-
toString
-