Class XMLParseException

  • All Implemented Interfaces:
    Serializable

    @Deprecated(since="2021-03-05")
    public class XMLParseException
    extends XNIException
    Deprecated.
    Please avoid using this package and use standard XML APIs.
    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
    • Constructor Detail

      • XMLParseException

        public XMLParseException​(XMLLocator locator,
                                 String message)
        Deprecated.
        Constructs a parse exception.
      • XMLParseException

        public XMLParseException​(XMLLocator locator,
                                 String message,
                                 Exception exception)
        Deprecated.
        Constructs a parse exception.
    • Method Detail

      • getPublicId

        public String getPublicId()
        Deprecated.
        Returns the public identifier.
      • getExpandedSystemId

        public String getExpandedSystemId()
        Deprecated.
        Returns the expanded system identifier.
      • getLiteralSystemId

        public String getLiteralSystemId()
        Deprecated.
        Returns the literal system identifier.
      • getBaseSystemId

        public String getBaseSystemId()
        Deprecated.
        Returns the base system identifier.
      • getLineNumber

        public int getLineNumber()
        Deprecated.
        Returns the line number.
      • getColumnNumber

        public int getColumnNumber()
        Deprecated.
        Returns the row number.
      • toString

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