CmdLine::E_Exception Class Reference

#include <CmdLineException.h>

Inheritance diagram for CmdLine::E_Exception:

Inheritance graph
[legend]
Collaboration diagram for CmdLine::E_Exception:

Collaboration graph
[legend]

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

CmdLine::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 CmdLine::E_Exception::~E_Exception (  )  throw () [inline, virtual]


Member Function Documentation

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

Return the user message.

References m_loc.

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

Return the error message.

References m_msg.

Referenced by CmdLine::operator<<().


Member Data Documentation

std::string CmdLine::E_Exception::m_msg [protected]

std::string CmdLine::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: