MyException Class Reference

#include <MyException.h>

Inheritance diagram for MyException:
Inheritance graph
[legend]
Collaboration diagram for MyException:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 MyException ()
 MyException (const std::string &aMsg)
 MyException (const std::string &aIntroMsg, const std::string &aMsg)
std::string what () const

Protected Attributes

std::string mIntroMsg
std::string mMsg

Detailed Description

MyException is a generic exception class to be applied just in this set of tools. Sub-class this to define specific kinds of exceptions. : Formal coding style demands that I really should make MyException a subclass of the standard library exception class, but I'm not really sure what's happening in that class. The wau I've done it here, does the job fine


Constructor & Destructor Documentation

MyException::MyException (  )  [inline]
MyException::MyException ( const std::string &  aMsg  )  [inline]
MyException::MyException ( const std::string &  aIntroMsg,
const std::string &  aMsg 
) [inline]

Member Function Documentation

std::string MyException::what (  )  const [inline]

References mIntroMsg, and mMsg.

Referenced by main().


Member Data Documentation

std::string MyException::mIntroMsg [protected]

Referenced by what().

std::string MyException::mMsg [protected]

Referenced by what().


The documentation for this class was generated from the following file:
Generated on Mon Oct 4 10:39:35 2010 for WfcamSrc by  doxygen 1.6.3