OBT::ArgException Class Reference

#include <OBTArgException.h>

Inheritance diagram for OBT::ArgException:
[legend]
Collaboration diagram for OBT::ArgException:
[legend]

List of all members.

Public Member Functions

 ArgException (const std::string &msg)
virtual ~ArgException () throw ()
virtual const char * what () const throw ()

Private Attributes

std::string _msg

Detailed Description

Definition at line 11 of file OBTArgException.h.


Constructor & Destructor Documentation

OBT::ArgException::ArgException ( const std::string &  msg  )  [inline, explicit]

Definition at line 14 of file OBTArgException.h.

00014 : std::exception(), _msg( msg ) {}

virtual OBT::ArgException::~ArgException (  )  throw () [inline, virtual]

Definition at line 15 of file OBTArgException.h.

00015 {}


Member Function Documentation

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

Definition at line 16 of file OBTArgException.h.

Referenced by OBT::OptionArgHandler::parse(), and OBT::OptionArgHandler::parseFile().

00016 { return _msg.c_str() ; }


Member Data Documentation

std::string OBT::ArgException::_msg [private]

Definition at line 18 of file OBTArgException.h.


Generated on 1 Jan 2010 for OBT by  doxygen 1.6.1