xmldom::DomError Class Reference

#include <DomError.h>

List of all members.


Detailed Description

DomError is an interface that describes an error.


Public Types

enum  Severity { Warning = 1, Error = 2, FatalError = 3 }
 An enum indicating the severity of the error. More...

Public Member Functions

 DomError ()
 ctor
 DomError (const DomError &copy)
 copy ctor
virtual ~DomError ()
 dtor
const DomErroroperator= (const DomError &assign)
 assign
Severity getSeverity () const
 The severity of the error, either Warning, Error, or FatalError.
DomString getMessage () const
 An implementation specific string describing the error that occurred.
DomLocator getLocation () const
 The location of the error.


Member Enumeration Documentation

enum xmldom::DomError::Severity

An enum indicating the severity of the error.

Enumerator:
Warning  The severity of the error described by the DomError is warning.

A Warning will not cause the processing to stop, unless DomErrorHandler::handleError() returns false.

Error  The severity of the error described by the DomError is error.

A Error may not cause the processing to stop if the error can be recovered, unless DomErrorHandler::handleError() returns false.

FatalError  The severity of the error described by the DomError is fatal error.

A FatalError will cause the normal processing to stop. The return value of DomErrorHandler::handleError() is ignored unless the implementation chooses to continue, in which case the behavior becomes undefined.


Constructor & Destructor Documentation

xmldom::DomError::DomError (  ) 

ctor

xmldom::DomError::DomError ( const DomError copy  ) 

copy ctor

xmldom::DomError::~DomError (  )  [virtual]

dtor


Member Function Documentation

const DomError & xmldom::DomError::operator= ( const DomError assign  ) 

assign

DomError::Severity xmldom::DomError::getSeverity (  )  const

The severity of the error, either Warning, Error, or FatalError.

DomString xmldom::DomError::getMessage (  )  const

An implementation specific string describing the error that occurred.

DomLocator xmldom::DomError::getLocation (  )  const

The location of the error.


The documentation for this class was generated from the following files:
Generated on Fri May 30 11:15:12 2008 for XMLDOM by  doxygen 1.5.2