Class XMLParseException

  • All Implemented Interfaces:
    java.io.Serializable

    @Deprecated
    public class XMLParseException
    extends XNIException
    Deprecated.
    Please avoid using package provided OOTB and/or migrate code to provide for this package in the custom code
    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 Summary

      Constructors 
      Constructor Description
      XMLParseException​(XMLLocator locator, java.lang.String message)
      Deprecated.
      Constructs a parse exception.
      XMLParseException​(XMLLocator locator, java.lang.String message, java.lang.Exception exception)
      Deprecated.
      Constructs a parse exception.
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      java.lang.String getBaseSystemId()
      Deprecated.
      Returns the base system identifier.
      int getColumnNumber()
      Deprecated.
      Returns the row number.
      java.lang.String getExpandedSystemId()
      Deprecated.
      Returns the expanded system identifier.
      int getLineNumber()
      Deprecated.
      Returns the line number.
      java.lang.String getLiteralSystemId()
      Deprecated.
      Returns the literal system identifier.
      java.lang.String getPublicId()
      Deprecated.
      Returns the public identifier.
      java.lang.String toString()
      Deprecated.
      Returns a string representation of this object.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • XMLParseException

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

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

      • getPublicId

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

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

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

        public java.lang.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 java.lang.String toString()
        Deprecated.
        Returns a string representation of this object.
        Overrides:
        toString in class java.lang.Throwable