org.parboiled.errors
Class InvalidInputError

java.lang.Object
  extended by org.parboiled.errors.BasicParseError
      extended by org.parboiled.errors.InvalidInputError
All Implemented Interfaces:
ParseError

public class InvalidInputError
extends BasicParseError

A ParseError describing one or more input characters that are illegal with regard to the underlying language grammar.


Constructor Summary
InvalidInputError(InputBuffer inputBuffer, int startIndex, java.util.List<MatcherPath> failedMatchers, java.lang.String errorMessage)
           
 
Method Summary
 java.util.List<MatcherPath> getFailedMatchers()
          Gets the list of paths to the single character matchers that failed at the error location of this error.
 
Methods inherited from class org.parboiled.errors.BasicParseError
getEndIndex, getErrorMessage, getIndexDelta, getInputBuffer, getStartIndex, setEndIndex, shiftIndexDeltaBy
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InvalidInputError

public InvalidInputError(InputBuffer inputBuffer,
                         int startIndex,
                         java.util.List<MatcherPath> failedMatchers,
                         java.lang.String errorMessage)
Method Detail

getFailedMatchers

public java.util.List<MatcherPath> getFailedMatchers()
Gets the list of paths to the single character matchers that failed at the error location of this error.

Returns:
the list of paths to the single character matchers that failed at the error location of this error