Package org.apache.xerces.xni.parser
Class XMLParseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.xerces.xni.XNIException
org.apache.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.
- Version:
- $Id: XMLParseException.java 447244 2006-09-18 05:20:40Z mrglavas $
- Author:
- Andy Clark, IBM
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionXMLParseException(XMLLocator locator, String message) Constructs a parse exception.XMLParseException(XMLLocator locator, String message, Exception exception) Constructs a parse exception. -
Method Summary
Modifier and TypeMethodDescriptionReturns the base system identifier.intReturns the character offset.intReturns the row number.Returns the expanded system identifier.intReturns the line number.Returns the literal system identifier.Returns the public identifier.toString()Returns a string representation of this object.Methods inherited from class org.apache.xerces.xni.XNIException
getCause, getException, initCauseMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Field Details
-
fPublicId
Public identifier. -
fLiteralSystemId
literal System identifier. -
fExpandedSystemId
expanded System identifier. -
fBaseSystemId
Base system identifier. -
fLineNumber
protected int fLineNumberLine number. -
fColumnNumber
protected int fColumnNumberColumn number. -
fCharacterOffset
protected int fCharacterOffsetCharacter offset.
-
-
Constructor Details
-
XMLParseException
Constructs a parse exception. -
XMLParseException
Constructs a parse exception.
-
-
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
Returns a string representation of this object.
-