2005/5/9

     
 

class DOMError

artefaktur
Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   Namespace Members   Compound Members   Related Pages  

org::w3c::dom::DOMError Class Reference

#include <DOMError.h>

List of all members.


Detailed Description

DOMError is an interface that describes an error.

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

Since:
DOM Level 3


Public Member Functions

virtual short getSeverity ()=0
 The severity of the error, either SEVERITY_WARNING, SEVERITY_ERROR, or SEVERITY_FATAL_ERROR.

virtual RString getMessage ()=0
 An implementation specific string describing the error that occurred.

virtual RString getType ()=0
 A DOMString indicating which related data is expected in relatedData.

virtual acdk::lang::Object getRelatedException ()=0
 The related platform dependent exception if any.

virtual acdk::lang::Object getRelatedData ()=0
 The related DOMError.type dependent data if any.

virtual RDOMLocator getLocation ()=0
 The location of the error.


Member Function Documentation

virtual RDOMLocator org::w3c::dom::DOMError::getLocation  )  [pure virtual]
 

The location of the error.

virtual RString org::w3c::dom::DOMError::getMessage  )  [pure virtual]
 

An implementation specific string describing the error that occurred.

virtual acdk::lang::Object org::w3c::dom::DOMError::getRelatedData  )  [pure virtual]
 

The related DOMError.type dependent data if any.

virtual acdk::lang::Object org::w3c::dom::DOMError::getRelatedException  )  [pure virtual]
 

The related platform dependent exception if any.

virtual short org::w3c::dom::DOMError::getSeverity  )  [pure virtual]
 

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

virtual RString org::w3c::dom::DOMError::getType  )  [pure virtual]
 

A DOMString indicating which related data is expected in relatedData.

Users should refer to the specification of the error in order to find its DOMString type and relatedData definitions if any. <p >Note: As an example, Document.normalizeDocument() does generate warnings when the split-cdata-sections parameter is in use. Therefore, the method generates a SEVERITY_WARNING with type cdata-sections-splitted and the first CDATASection node in document order resulting from the split is returned by the relatedData attribute.