#include <CmdLineException.h>


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 |
| 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] |
| 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] |
std::string CmdLine::E_Exception::m_msg [protected] |
The error message.
Referenced by CmdLine::E_Duplicate::E_Duplicate(), CmdLine::E_MaxMin< T >::E_MaxMin(), CmdLine::E_NoValue::E_NoValue(), CmdLine::E_OutOfRange< T >::E_OutOfRange(), and what().
std::string CmdLine::E_Exception::m_loc [protected] |
Optional message, such as the name of the function where throw was called.
Referenced by local().