Class PathParseException

    • Constructor Detail

      • 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 Detail

      • 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