Class DOMErrorImpl

  • All Implemented Interfaces:
    org.w3c.dom.DOMError

    @Deprecated
    public class DOMErrorImpl
    extends java.lang.Object
    implements org.w3c.dom.DOMError
    Deprecated.
    DOMErrorImpl is an implementation that describes an error. Note: The error object that describes the error might be reused by Xerces implementation, across multiple calls to the handleEvent method on DOMErrorHandler interface.

    See also the Document Object Model (DOM) Level 3 Core Specification.

    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.lang.Exception fException
      Deprecated.
       
      DOMLocatorImpl fLocator
      Deprecated.
       
      java.lang.String fMessage
      Deprecated.
       
      java.lang.Object fRelatedData
      Deprecated.
       
      short fSeverity
      Deprecated.
       
      java.lang.String fType
      Deprecated.
       
      • Fields inherited from interface org.w3c.dom.DOMError

        SEVERITY_ERROR, SEVERITY_FATAL_ERROR, SEVERITY_WARNING
    • Constructor Summary

      Constructors 
      Constructor Description
      DOMErrorImpl()
      Deprecated.
      Default constructor.
      DOMErrorImpl​(short severity, XMLParseException exception)
      Deprecated.
      Exctracts information from XMLParserException)
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      org.w3c.dom.DOMLocator getLocation()
      Deprecated.
      The location of the error.
      java.lang.String getMessage()
      Deprecated.
      An implementation specific string describing the error that occured.
      java.lang.Object getRelatedData()
      Deprecated.
       
      java.lang.Object getRelatedException()
      Deprecated.
      The related platform dependent exception if any.exception is a reserved word, we need to rename it.Change to "relatedException".
      short getSeverity()
      Deprecated.
      The severity of the error, either SEVERITY_WARNING, SEVERITY_ERROR, or SEVERITY_FATAL_ERROR.
      java.lang.String getType()
      Deprecated.
       
      void reset()
      Deprecated.
       
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • fSeverity

        public short fSeverity
        Deprecated.
      • fMessage

        public java.lang.String fMessage
        Deprecated.
      • fException

        public java.lang.Exception fException
        Deprecated.
      • fType

        public java.lang.String fType
        Deprecated.
      • fRelatedData

        public java.lang.Object fRelatedData
        Deprecated.
    • Constructor Detail

      • DOMErrorImpl

        public DOMErrorImpl()
        Deprecated.
        Default constructor.
      • DOMErrorImpl

        public DOMErrorImpl​(short severity,
                            XMLParseException exception)
        Deprecated.
        Exctracts information from XMLParserException)
    • Method Detail

      • getSeverity

        public short getSeverity()
        Deprecated.
        The severity of the error, either SEVERITY_WARNING, SEVERITY_ERROR, or SEVERITY_FATAL_ERROR.
        Specified by:
        getSeverity in interface org.w3c.dom.DOMError
      • getMessage

        public java.lang.String getMessage()
        Deprecated.
        An implementation specific string describing the error that occured.
        Specified by:
        getMessage in interface org.w3c.dom.DOMError
      • getLocation

        public org.w3c.dom.DOMLocator getLocation()
        Deprecated.
        The location of the error.
        Specified by:
        getLocation in interface org.w3c.dom.DOMError
      • getRelatedException

        public java.lang.Object getRelatedException()
        Deprecated.
        The related platform dependent exception if any.exception is a reserved word, we need to rename it.Change to "relatedException". (F2F 26 Sep 2001)
        Specified by:
        getRelatedException in interface org.w3c.dom.DOMError
      • reset

        public void reset()
        Deprecated.
      • getType

        public java.lang.String getType()
        Deprecated.
        Specified by:
        getType in interface org.w3c.dom.DOMError
      • getRelatedData

        public java.lang.Object getRelatedData()
        Deprecated.
        Specified by:
        getRelatedData in interface org.w3c.dom.DOMError