public class

DOMErrorImpl

extends Object
implements DOMError
java.lang.Object
   ↳ org.apache.xerces.dom.DOMErrorImpl

Class Overview

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.@xerces.internal

Summary

[Expand]
Inherited Constants
From interface org.w3c.dom.DOMError
Fields
public Exception fException
public DOMLocatorImpl fLocator
public String fMessage
public Object fRelatedData
public short fSeverity
public String fType
Public Constructors
DOMErrorImpl()
Default constructor.
DOMErrorImpl(short severity, XMLParseException exception)
Exctracts information from XMLParserException)
Public Methods
DOMLocator getLocation()
The location of the error.
String getMessage()
An implementation specific string describing the error that occured.
Object getRelatedData()
Object getRelatedException()
The related platform dependent exception if any.exception is a reserved word, we need to rename it.Change to "relatedException".
short getSeverity()
The severity of the error, either SEVERITY_WARNING, SEVERITY_ERROR, or SEVERITY_FATAL_ERROR.
String getType()
void reset()
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.w3c.dom.DOMError

Fields

public Exception fException

public DOMLocatorImpl fLocator

public String fMessage

public Object fRelatedData

public short fSeverity

public String fType

Public Constructors

public DOMErrorImpl ()

Default constructor.

public DOMErrorImpl (short severity, XMLParseException exception)

Exctracts information from XMLParserException)

Public Methods

public DOMLocator getLocation ()

The location of the error.

public String getMessage ()

An implementation specific string describing the error that occured.

public Object getRelatedData ()

public Object getRelatedException ()

The related platform dependent exception if any.exception is a reserved word, we need to rename it.Change to "relatedException". (F2F 26 Sep 2001)

public short getSeverity ()

The severity of the error, either SEVERITY_WARNING, SEVERITY_ERROR, or SEVERITY_FATAL_ERROR.

public String getType ()

public void reset ()