Class ParseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.vividsolutions.jump.JUMPException
com.vividsolutions.jump.io.ParseException
- All Implemented Interfaces:
Serializable
Simple exception class to express problems parsing data.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionParseException(String message) construct exception with a messageParseException(String message, String newFileName, int newLineNumber, int newCharPos) More explictly construct a parse exception.ParseException(String message, String newFileName, int newLineNumber, int newCharPos, Throwable cause) ParseException(String message, Throwable cause) -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
fileName
-
-
Constructor Details
-
ParseException
construct exception with a message -
ParseException
-
ParseException
More explictly construct a parse exception. Resulting message will be :message + " in file '" + newFname +"', line " + newLineno + ", char " + newCpos- Parameters:
message- information about the type of errornewFileName- filename the error occurred innewLineNumber- line number the error occurred atnewCharPos- character position on the line
-
ParseException
-