com.vividsolutions.jump.io
Class ParseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.vividsolutions.jump.JUMPException
com.vividsolutions.jump.io.ParseException
- All Implemented Interfaces:
- java.io.Serializable
public class ParseException
- extends JUMPException
Simple exception class to express problems parsing data.
- See Also:
- Serialized Form
|
Constructor Summary |
ParseException(java.lang.String message)
construct exception with a message |
ParseException(java.lang.String message,
java.lang.String newFname,
int newLineno,
int newCpos)
More explictly construct a parse exception. |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
fname
public java.lang.String fname
lineno
public int lineno
cpos
public int cpos
ParseException
public ParseException(java.lang.String message)
- construct exception with a message
ParseException
public ParseException(java.lang.String message,
java.lang.String newFname,
int newLineno,
int newCpos)
- 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 errornewFname - filename the error occurred innewLineno - line number the error occurred atnewCpos - character position on the line