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.
- Author:
- Andy Clark, IBM
- See Also:
-
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
getExceptionMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
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
-