imaging::Exception Class Reference
[Core Module]

Generic exception with custom error message. More...

#include <Exception.hpp>

Inheritance diagram for imaging::Exception:

imaging::FileIoException imaging::MathException imaging::XmlReader::XmlNoTagException

List of all members.

Public Member Functions

 Exception (std::string msg=std::string("Exception: An exception has ocurred!"))
const std::string & error_msg () const


Detailed Description

Generic exception with custom error message.

Base class of all exceptions thrown in imaging2. The user can provide a custom error message upon construction of an Exception object.


Constructor & Destructor Documentation

imaging::Exception::Exception ( std::string  msg = std::string("Exception: An exception has ocurred!")  )  [inline]

Constructor. The user can pass a custom error message.


Member Function Documentation

const std::string& imaging::Exception::error_msg (  )  const [inline]

Returns the 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