Save This Page
Home » Xerces-J-src.2.9.1 » org.apache.xerces » xni » parser » [javadoc | source]
org.apache.xerces.xni.parser
public class: XMLParseException [javadoc | source]
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.
Field Summary
static final  long serialVersionUID    Serialization version. 
protected  String fPublicId    Public identifier. 
protected  String fLiteralSystemId    literal System identifier. 
protected  String fExpandedSystemId    expanded System identifier. 
protected  String fBaseSystemId    Base system identifier. 
protected  int fLineNumber    Line number. 
protected  int fColumnNumber    Column number. 
protected  int fCharacterOffset    Character offset. 
Fields inherited from org.apache.xerces.xni.XNIException:
serialVersionUID
Constructor:
 public XMLParseException(XMLLocator locator,
    String message) 
    Constructs a parse exception.
 public XMLParseException(XMLLocator locator,
    String message,
    Exception exception) 
    Constructs a parse exception.
Method from org.apache.xerces.xni.parser.XMLParseException Summary:
getBaseSystemId,   getCharacterOffset,   getColumnNumber,   getExpandedSystemId,   getLineNumber,   getLiteralSystemId,   getPublicId,   toString
Methods from org.apache.xerces.xni.XNIException:
getException
Methods from java.lang.Throwable:
fillInStackTrace,   getCause,   getLocalizedMessage,   getMessage,   getStackTrace,   initCause,   printStackTrace,   printStackTrace,   printStackTrace,   setStackTrace,   toString
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.xerces.xni.parser.XMLParseException Detail:
 public String getBaseSystemId() 
    Returns the base system identifier.
 public int getCharacterOffset() 
    Returns the character offset.
 public int getColumnNumber() 
    Returns the row number.
 public String getExpandedSystemId() 
    Returns the expanded system identifier.
 public int getLineNumber() 
    Returns the line number.
 public String getLiteralSystemId() 
    Returns the literal system identifier.
 public String getPublicId() 
    Returns the public identifier.
 public String toString() 
    Returns a string representation of this object.