org.kxml.io
Class ParseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.kxml.io.ParseException
- All Implemented Interfaces:
- java.io.Serializable
- public class ParseException
- extends java.io.IOException
a possibly chained exception, indicatin a line and column number.
- See Also:
- Serialized Form
Constructor Summary |
ParseException(java.lang.String msg,
java.lang.Exception chained,
int lineNumber,
int columnNumber)
Builds a new ParseException with the given message text,
chained Exception, lineNumber, columNumber. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
lineNumber
protected int lineNumber
columnNumber
protected int columnNumber
chained
protected java.lang.Exception chained
ParseException
public ParseException(java.lang.String msg,
java.lang.Exception chained,
int lineNumber,
int columnNumber)
- Builds a new ParseException with the given message text,
chained Exception, lineNumber, columNumber. Set message text
or chained exception to null and lineNumber and
columNumber to -1 if not applicable.
printStackTrace
public void printStackTrace()
- prints the own stack trace followed by the stack trace of the
original exception.
getLineNumber
public int getLineNumber()