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
Exception thrown when the serialization of a path cannot be parsed.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionPathParseException(String message, String pathString, int location) Constructs an exception indicating an error parsing a path at the given location. -
Method Summary
Modifier and TypeMethodDescriptionintRetrieve the index of the character at which the error occurred.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 Details
-
PathParseException
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 Details
-
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
-