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.
    Version:
    $Id$
    Author:
    Andy Clark, IBM
    See Also:
    Serialized Form
    • 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.
      • toString

        public String toString()
        Returns a string representation of this object.
        Overrides:
        toString in class Throwable