Class XMLParseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.htmlunit.cyberneko.xerces.xni.XNIException
org.htmlunit.cyberneko.xerces.xni.parser.XMLParseException
- All Implemented Interfaces:
Serializable
A parsing exception. This exception is different from the standard XNI
exception in that it stores the location in the document (or its entities)
where the exception occurred.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionXMLParseException
(XMLLocator locator, String message) XMLParseException
(XMLLocator locator, String message, Exception exception) -
Method Summary
Methods inherited from class org.htmlunit.cyberneko.xerces.xni.XNIException
getException
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Field Details
-
publicId_
Public identifier. -
literalSystemId_
literal System identifier. -
expandedSystemId_
expanded System identifier. -
baseSystemId_
Base system identifier. -
lineNumber_
private int lineNumber_Line number. -
columnNumber_
private int columnNumber_Column number. -
characterOffset_
private int characterOffset_Character offset.
-
-
Constructor Details
-
XMLParseException
-
XMLParseException
-
-
Method Details
-
getPublicId
- Returns:
- the public identifier.
-
getExpandedSystemId
- Returns:
- the expanded system identifier.
-
getLiteralSystemId
- Returns:
- the literal system identifier.
-
getBaseSystemId
- Returns:
- the base system identifier.
-
getLineNumber
public int getLineNumber()- Returns:
- the line number.
-
getColumnNumber
public int getColumnNumber()- Returns:
- the row number.
-
getCharacterOffset
public int getCharacterOffset()- Returns:
- the character offset.
-
toString
-