Main Page   Namespace List   Class Hierarchy   Compound List   File List   Header Files   Sources   Namespace Members   Compound Members   File Members  

error::element_error Class Reference

An object that holds information about an error in a DOM element. More...

#include <error.h>

Class diagram for error::element_error:

error::attribute_error

List of all members.


Public Members

 element_error ( const DOM_Element &e, const string &m )
The only constructor for an element_error. More...

DOM_Element element
The DOM element that is erroneous.

string message
A description of the error.


Detailed Description

An object that holds information about an error in a DOM element.

This is for use in exception handling.

Definition at line 43 of file error.h.


Member Function Documentation

error::element_error::element_error (const DOM_Element & e, const string & m) [inline]

The only constructor for an element_error.

Parameters:
e   the DOM element
m   a description of the error

Postconditions:
 assert( this->element == e );
 assert( this->message == m );

Definition at line 69 of file error.h.


Member Data Documentation

DOM_Element error::element_error::element

The DOM element that is erroneous.

Definition at line 50 of file error.h.

string error::element_error::message

A description of the error.

Definition at line 55 of file error.h.


The documentation for this class was generated from the following file:
Generated at Sun Jul 14 20:38:18 2002 for Mapper by doxygen 1.0.0 written by Dimitri van Heesch, © 1997-1999