imaging::XmlReader::XmlNoTagException Class Reference

This exception is throw if the attempt to read an object fails. More...

#include <XmlReader.hpp>

Inheritance diagram for imaging::XmlReader::XmlNoTagException:

imaging::Exception

List of all members.

Public Member Functions

 XmlNoTagException (std::string msg=std::string("XmlNoTagException!"))


Detailed Description

This exception is throw if the attempt to read an object fails.

An XmlNoTagException is thrown whenever the user attempts to read an object, which is not present at the current path. This does not hold when reading a vector of objects. In this case the length of the vector is simply set to 0, if no object can be read. Also note that an XmlNoTagException exception is never thrown if the user passes a stream command to the input stream.


Constructor & Destructor Documentation

imaging::XmlReader::XmlNoTagException::XmlNoTagException ( std::string  msg = std::string("XmlNoTagException!")  )  [inline]

Constructor. The user can pass a custom error message.


The documentation for this class was generated from the following file:

Generated on Tue Feb 10 10:01:31 2009 for imaging2 by  doxygen 1.5.5