Package org.parboiled.errors
Class ActionError
- java.lang.Object
-
- org.parboiled.errors.BasicParseError
-
- org.parboiled.errors.ActionError
-
- All Implemented Interfaces:
ParseError
public class ActionError extends BasicParseError
AParseError
wrapping an ActionException.
-
-
Constructor Summary
Constructors Constructor Description ActionError(InputBuffer inputBuffer, int errorIndex, String errorMessage, MatcherPath errorPath, ActionException actionException)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ActionException
getActionException()
Gets the wrapped ActionException.MatcherPath
getErrorPath()
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 Detail
-
ActionError
public ActionError(InputBuffer inputBuffer, int errorIndex, String errorMessage, MatcherPath errorPath, ActionException actionException)
-
-
Method Detail
-
getErrorPath
public MatcherPath getErrorPath()
Gets the path to the matcher that caused this error.- Returns:
- the MatcherPath
-
getActionException
public ActionException getActionException()
Gets the wrapped ActionException.- Returns:
- the wrapped ActionException
-
-