org.jdom.input
public class JDOMParseException extends JDOMException
Version: $Revision: 1.7 $, $Date: 2004/02/17 02:29:24 $
| Constructor Summary | |
|---|---|
| JDOMParseException(String message, Throwable cause)
This will create a parse Exception with the given
message and wrap the Exception that cause a document
parse to fail.
| |
| JDOMParseException(String message, Throwable cause, Document partialDocument)
This will create a parse Exception with the given
message and the partial document and wrap the
Exception that cause a document parse to fail.
| |
| Method Summary | |
|---|---|
| int | getColumnNumber()
Returns the column number of the end of the text where the
parse error occurred.
|
| int | getLineNumber()
Returns the line number of the end of the text where the
parse error occurred.
|
| Document | getPartialDocument()
Returns the partial document that was successfully built before
the error occurred.
|
| String | getPublicId()
Returns the public identifier of the entity where the
parse error occurred.
|
| String | getSystemId()
Returns the system identifier of the entity where the
parse error occurred.
|
Exception with the given
message and wrap the Exception that cause a document
parse to fail.
Parameters: message String message indicating
the problem that occurred. cause Throwable that caused this
to be thrown.
Exception with the given
message and the partial document and wrap the
Exception that cause a document parse to fail.
Parameters: message String message indicating
the problem that occurred. cause Throwable that caused this
to be thrown. partialDocument Document the portion of
the input XML document that was
successfully built.
The first column in a line is position 1.
Returns: an integer representing the column number, or -1 if the information is not available.
The first line in the document is line 1.
Returns: an integer representing the line number, or -1 if the information is not available.
Returns: the partial document or null if none.
Returns: a string containing the public identifier, or
null if the information is not available.
Returns: a string containing the system identifier, or
null if the information is not available.