Class PathParseException

All Implemented Interfaces:
Serializable

public class PathParseException extends DRException
Exception thrown when the serialization of a path cannot be parsed.
See Also:
  • Constructor Details

    • PathParseException

      public PathParseException(String message, String pathString, int location)
      Constructs an exception indicating an error parsing a path at the given location.
      Parameters:
      message - The parsing error encountered
      pathString - The serialized path which could not be parsed
      location - The index of the character at which the error occurred
  • Method Details

    • getPathString

      public String getPathString()
      Retrieve the serialized path which could not be parsed.
      Returns:
      The serialized path which could not be parsed
    • getLocation

      public int getLocation()
      Retrieve the index of the character at which the error occurred.
      Returns:
      The index of the character at which the error occurred