Package org.antlr.runtime
Class FailedPredicateException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.antlr.runtime.RecognitionException
-
- org.antlr.runtime.FailedPredicateException
-
- All Implemented Interfaces:
Serializable
public class FailedPredicateException extends RecognitionException
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:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description String
predicateText
String
ruleName
-
Fields inherited from class org.antlr.runtime.RecognitionException
approximateLineInfo, c, charPositionInLine, index, input, line, node, token
-
-
Constructor Summary
Constructors Constructor Description FailedPredicateException()
Used for remote debugger deserializationFailedPredicateException(IntStream input, String ruleName, String predicateText)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
toString()
-
Methods inherited from class org.antlr.runtime.RecognitionException
extractInformationFromTreeNodeStream, getUnexpectedType
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
-