| Modifier and Type | Field and Description |
|---|---|
| private final Document | partialDocument
The portion of the document that was successfully built before the parse error occurred. |
| private static final long | serialVersionUID
Standard JDOM2 Exception Serialization.
|
| Access | Constructor and Description |
|---|---|
| public | JDOMParseException(String
String message indicating
the problem that occurred.Throwable that caused this
to be thrown.This will create a parse |
| public | JDOMParseException(String
String message indicating
the problem that occurred.Throwable that caused this
to be thrown.Document the portion of
the input XML document that was
successfully built.This will create a parse |
| Modifier and Type | Method and Description |
|---|---|
| public int | Returns: an integer representing the column number, or -1 if the information is not available.Returns the column number of the end of the text where the parse error occurred. |
| public int | Returns: an integer representing the line number, or -1 if the information is not available.Returns the line number of the end of the text where the parse error occurred. |
| public Document | Returns: the partial document or null if none.Returns the partial document that was successfully built before the error occurred. |
| public String | Returns: a string containing the public identifier, ornull if the information is not available.Returns the public identifier of the entity where the parse error occurred. |
| public String | Returns: a string containing the system identifier, ornull if the information is not available.Returns the system identifier of the entity where the parse error occurred. |
| partialDocument | back to summary |
|---|---|
| private final Document partialDocument The portion of the document that was successfully built before the parse error occurred. | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides org. Standard JDOM2 Exception Serialization. Default. | |
| JDOMParseException | back to summary |
|---|---|
| public JDOMParseException(String message, Throwable cause) This will create a parse | |
| JDOMParseException | back to summary |
|---|---|
| public JDOMParseException(String message, Throwable cause, Document partialDocument) This will create a parse | |
| getColumnNumber | back to summary |
|---|---|
| public int getColumnNumber() Returns the column number of the end of the text where the parse error occurred. The first column in a line is position 1.
| |
| getLineNumber | back to summary |
|---|---|
| public int getLineNumber() Returns the line number of the end of the text where the parse error occurred. The first line in the document is line 1.
| |
| getPartialDocument | back to summary |
|---|---|
| public Document getPartialDocument() Returns the partial document that was successfully built before the error occurred.
| |
| getPublicId | back to summary |
|---|---|
| public String getPublicId() Returns the public identifier of the entity where the parse error occurred.
| |
| getSystemId | back to summary |
|---|---|
| public String getSystemId() Returns the system identifier of the entity where the parse error occurred.
| |