Class 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.
    Author:
    Andy Clark, IBM
    See Also:
    Serialized Form
    • Method Detail

      • getPublicId

        public String getPublicId()
        Returns:
        the public identifier.
      • getSystemId

        public String getSystemId()
        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.