Package org.parboiled.errors
Class ActionError
java.lang.Object
org.parboiled.errors.BasicParseError
org.parboiled.errors.ActionError
- All Implemented Interfaces:
ParseError
A
ParseError
wrapping an ActionException.-
Constructor Summary
ConstructorDescriptionActionError
(InputBuffer inputBuffer, int errorIndex, String errorMessage, MatcherPath errorPath, ActionException actionException) -
Method Summary
Modifier and TypeMethodDescriptionGets the wrapped ActionException.Gets the path to the matcher that caused this error.Methods inherited from class org.parboiled.errors.BasicParseError
getEndIndex, getErrorMessage, getIndexDelta, getInputBuffer, getStartIndex, setEndIndex, shiftIndexDeltaBy
-
Constructor Details
-
ActionError
public ActionError(InputBuffer inputBuffer, int errorIndex, String errorMessage, MatcherPath errorPath, ActionException actionException)
-
-
Method Details
-
getErrorPath
Gets the path to the matcher that caused this error.- Returns:
- the MatcherPath
-
getActionException
Gets the wrapped ActionException.- Returns:
- the wrapped ActionException
-