- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.pervasive.datarush.exceptions.DRException
-
- com.pervasive.datarush.graphs.PathParseException
-
- All Implemented Interfaces:
Serializable
public class PathParseException extends DRException
Exception thrown when the serialization of a path cannot be parsed.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PathParseException(String message, String pathString, int location)
Constructs an exception indicating an error parsing a path at the given location.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getLocation()
Retrieve the index of the character at which the error occurred.String
getPathString()
Retrieve the serialized path which could not be parsed.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
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 encounteredpathString
- The serialized path which could not be parsedlocation
- 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
-
-