org::jdom::input::JDOMParseException Class Reference

Inheritance diagram for org::jdom::input::JDOMParseException:

org::jdom::JDOMException List of all members.

Public Member Functions

 JDOMParseException (String message, Throwable cause)
 JDOMParseException (String message, Document partialDocument, Throwable cause)
Document getPartialDocument ()
String getPublicId ()
String getSystemId ()
int getLineNumber ()
int getColumnNumber ()

Detailed Description

JDOMParseException.

Author:
Laurent Bihanic
Version:
Revision
1.3
,
Date
2003/04/06 02:00:44


Constructor & Destructor Documentation

org::jdom::input::JDOMParseException::JDOMParseException ( String  message,
Throwable  cause 
) [inline]

This will create a parse 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.

org::jdom::input::JDOMParseException::JDOMParseException ( String  message,
Document  partialDocument,
Throwable  cause 
) [inline]

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.

Parameters:
message String message indicating the problem that occurred.
partialDocument Document the portion of the input XML document that was successfully built.
cause Throwable that caused this to be thrown.


Member Function Documentation

Document org::jdom::input::JDOMParseException::getPartialDocument (  )  [inline]

Returns the partial document that was successfully built before the error occurred.

Returns:
the partial document.

String org::jdom::input::JDOMParseException::getPublicId (  )  [inline]

Returns the public identifier of the entity where the parse error occurred.

Returns:
a string containing the public identifier, or null if the information is not available.

String org::jdom::input::JDOMParseException::getSystemId (  )  [inline]

Returns the system identifier of the entity where the parse error occurred.

Returns:
a string containing the system identifier, or null if the information is not available.

int org::jdom::input::JDOMParseException::getLineNumber (  )  [inline]

Returns the line number of the end of the text where the parse error occurred.

The first line in the document is line 1.

Returns:
an integer representing the line number, or -1 if the information is not available.

int org::jdom::input::JDOMParseException::getColumnNumber (  )  [inline]

Returns the column number of the end of the text where the parse error occurred.

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 documentation for this class was generated from the following file:
Generated on Sun Nov 5 16:02:38 2006 for JDOM by  doxygen 1.5.1