|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.antlr.runtime.RecognitionException
org.antlr.runtime.FailedPredicateException
public class FailedPredicateException
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.
| Field Summary | |
|---|---|
String |
predicateText
|
String |
ruleName
|
| Fields inherited from class org.antlr.runtime.RecognitionException |
|---|
approximateLineInfo, c, charPositionInLine, index, input, line, node, token |
| Constructor Summary | |
|---|---|
FailedPredicateException()
Used for remote debugger deserialization |
|
FailedPredicateException(IntStream input,
String ruleName,
String predicateText)
|
|
| Method Summary | |
|---|---|
String |
toString()
|
| Methods inherited from class org.antlr.runtime.RecognitionException |
|---|
extractInformationFromTreeNodeStream, getUnexpectedType |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public String ruleName
public String predicateText
| Constructor Detail |
|---|
public FailedPredicateException()
public FailedPredicateException(IntStream input,
String ruleName,
String predicateText)
| Method Detail |
|---|
public String toString()
toString in class Throwable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||