Class NoViableAltException

  • All Implemented Interfaces:
    Serializable

    public class NoViableAltException
    extends RecognitionException
    Indicates that the parser could not decide which of two or more paths to take based upon the remaining input. It tracks the starting token of the offending input and also knows where the parser was in the various paths when the error. Reported by reportNoViableAlternative()
    See Also:
    Serialized Form