Class XMLParseException

  • All Implemented Interfaces:
    java.io.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.
    See Also:
    Serialized Form
    • Field Detail

      • publicId_

        private java.lang.String publicId_
        Public identifier.
      • literalSystemId_

        private java.lang.String literalSystemId_
        literal System identifier.
      • expandedSystemId_

        private java.lang.String expandedSystemId_
        expanded System identifier.
      • baseSystemId_

        private java.lang.String baseSystemId_
        Base system identifier.
      • lineNumber_

        private int lineNumber_
        Line number.
      • columnNumber_

        private int columnNumber_
        Column number.
      • characterOffset_

        private int characterOffset_
        Character offset.
    • Constructor Detail

      • XMLParseException

        public XMLParseException​(XMLLocator locator,
                                 java.lang.String message)
      • XMLParseException

        public XMLParseException​(XMLLocator locator,
                                 java.lang.String message,
                                 java.lang.Exception exception)
    • Method Detail

      • getPublicId

        public java.lang.String getPublicId()
        Returns:
        the public identifier.
      • getExpandedSystemId

        public java.lang.String getExpandedSystemId()
        Returns:
        the expanded system identifier.
      • getLiteralSystemId

        public java.lang.String getLiteralSystemId()
        Returns:
        the literal system identifier.
      • getBaseSystemId

        public java.lang.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 java.lang.String toString()
        Overrides:
        toString in class java.lang.Throwable