Main Page   Class Hierarchy   Compound List   File List   Compound Members  

MFUtil::Exception Class Reference

#include <Exception.h>

Inheritance diagram for MFUtil::Exception:

MFUtil::ArgumentException MFUtil::ConversionException MFUtil::IOException List of all members.

Public Methods

 Exception (const std::string &p_comment, const std::string &p_stack="")
virtual ~Exception ()
void addComment (const std::string &p_comment)
std::string getComment (void) const
void addStack (const std::string &p_stack)
std::string getStack (void) const
std::string getInfo (void) const

Detailed Description

General class to define an exception. It contains a calling stack and a comment stack.

Constructor & Destructor Documentation

MFUtil::Exception::Exception const std::string &    p_comment,
const std::string &    p_stack = ""


p_comment  Add this comment in the comment stack of the object.
p_stack  Add this text to the calling stack of the object.

virtual MFUtil::Exception::~Exception   [inline, virtual]


Member Function Documentation

void MFUtil::Exception::addComment const std::string &    p_comment

Add a comment to the comment stack.

void MFUtil::Exception::addStack const std::string &    p_stack

Add text to the calling stack.

std::string MFUtil::Exception::getComment void    const

Return the text relative to the comment stack.

std::string MFUtil::Exception::getInfo void    const

Return the comment stack followed by the calling stack.

std::string MFUtil::Exception::getStack void    const

Return the text relative to the calling stack.

The documentation for this class was generated from the following file:
Generated on Sat Nov 4 15:59:00 2006 for GLARE by doxygen1.2.18