org.parboiled.errors
Class ActionError

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

public class ActionError
extends BasicParseError

A ParseError wrapping an ActionException.


Constructor Summary
ActionError(InputBuffer inputBuffer, int errorIndex, java.lang.String errorMessage, MatcherPath errorPath, ActionException actionException)
           
 
Method Summary
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActionError

public ActionError(InputBuffer inputBuffer,
                   int errorIndex,
                   java.lang.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