Class 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 Detail

      • ruleName

        public String ruleName
      • predicateText

        public String predicateText
    • Constructor Detail

      • FailedPredicateException

        public FailedPredicateException()
        Used for remote debugger deserialization
      • FailedPredicateException

        public FailedPredicateException​(IntStream input,
                                        String ruleName,
                                        String predicateText)