Class XMLParseException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.smooks.engine.delivery.sax.ng.org.apache.xerces.xni.XNIException
-
- org.smooks.engine.delivery.sax.ng.org.apache.xerces.xni.parser.XMLParseException
-
- All Implemented Interfaces:
Serializable
public class XMLParseException extends XNIException
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$
- Author:
- Andy Clark, IBM
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected String
fBaseSystemId
Base system identifier.protected int
fCharacterOffset
Character offset.protected int
fColumnNumber
Column number.protected String
fExpandedSystemId
expanded System identifier.protected int
fLineNumber
Line number.protected String
fLiteralSystemId
literal System identifier.protected String
fPublicId
Public identifier.
-
Constructor Summary
Constructors Constructor Description XMLParseException(XMLLocator locator, String message)
Constructs a parse exception.XMLParseException(XMLLocator locator, String message, Exception exception)
Constructs a parse exception.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getBaseSystemId()
Returns the base system identifier.int
getCharacterOffset()
Returns the character offset.int
getColumnNumber()
Returns the row number.String
getExpandedSystemId()
Returns the expanded system identifier.int
getLineNumber()
Returns the line number.String
getLiteralSystemId()
Returns the literal system identifier.String
getPublicId()
Returns the public identifier.String
toString()
Returns a string representation of this object.-
Methods inherited from class org.smooks.engine.delivery.sax.ng.org.apache.xerces.xni.XNIException
getCause, getException, initCause
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
-
-
-
Field Detail
-
fPublicId
protected String fPublicId
Public identifier.
-
fLiteralSystemId
protected String fLiteralSystemId
literal System identifier.
-
fExpandedSystemId
protected String fExpandedSystemId
expanded System identifier.
-
fBaseSystemId
protected String fBaseSystemId
Base system identifier.
-
fLineNumber
protected int fLineNumber
Line number.
-
fColumnNumber
protected int fColumnNumber
Column number.
-
fCharacterOffset
protected int fCharacterOffset
Character offset.
-
-
Constructor Detail
-
XMLParseException
public XMLParseException(XMLLocator locator, String message)
Constructs a parse exception.
-
XMLParseException
public XMLParseException(XMLLocator locator, String message, Exception exception)
Constructs a parse exception.
-
-
Method Detail
-
getPublicId
public String getPublicId()
Returns the public identifier.
-
getExpandedSystemId
public String getExpandedSystemId()
Returns the expanded system identifier.
-
getLiteralSystemId
public String getLiteralSystemId()
Returns the literal system identifier.
-
getBaseSystemId
public String 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.
-
-