E_Exception Class Reference

#include <Exception.h>

Inheritance diagram for E_Exception:

Inheritance graph
Collaboration diagram for E_Exception:

Collaboration graph

List of all members.

Public Member Functions

 E_Exception (const std::string &L="", const std::string &M="")
virtual ~E_Exception () throw ()
virtual const char * local ()
virtual const char * what () const throw ()

Protected Attributes

std::string m_msg
std::string m_loc

Detailed Description

Exception base class.

Constructor & Destructor Documentation

E_Exception::E_Exception ( const std::string &  L = "",
const std::string &  M = "" 
) [inline]

Create an exception with an optional message "L" and an error message "M".

virtual E_Exception::~E_Exception (  )  throw () [inline, virtual]

Member Function Documentation

virtual const char* E_Exception::local (  )  [inline, virtual]

Return the user message.

References m_loc.

virtual const char* E_Exception::what (  )  const throw () [inline, virtual]

Return the error message.

References m_msg.

Referenced by main(), and operator<<().

Member Data Documentation

std::string E_Exception::m_msg [protected]

The error message.

Referenced by what().

std::string E_Exception::m_loc [protected]

Optional message, such as the name of the function where throw was called.

Referenced by local().

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