Limbo 3.5.4
Loading...
Searching...
No Matches
limbo::programoptions::ProgramOptionsException Class Reference

an exception class for limbo::programoptions::ProgramOptions More...

#include <ProgramOptions.h>

Inheritance diagram for limbo::programoptions::ProgramOptionsException:

Public Types

typedef std::exception base_type
 base type

Public Member Functions

 ProgramOptionsException (std::string const &msg)
 constructor
 ProgramOptionsException (ProgramOptionsException const &rhs)
 copy constructor
virtual ~ProgramOptionsException () throw ()
 destructor
virtual const char * what () const throw ()
 access message

Protected Attributes

std::string m_msg
 message of the exception

Detailed Description

an exception class for limbo::programoptions::ProgramOptions

Definition at line 35 of file ProgramOptions.h.

Member Typedef Documentation

◆ base_type

base type

Definition at line 39 of file ProgramOptions.h.

Constructor & Destructor Documentation

◆ ProgramOptionsException() [1/2]

limbo::programoptions::ProgramOptionsException::ProgramOptionsException ( std::string const & msg)
inline

constructor

Parameters
msgmessage

Definition at line 44 of file ProgramOptions.h.

◆ ProgramOptionsException() [2/2]

limbo::programoptions::ProgramOptionsException::ProgramOptionsException ( ProgramOptionsException const & rhs)
inline

copy constructor

Parameters
rhsthe other object to copy

Definition at line 49 of file ProgramOptions.h.

◆ ~ProgramOptionsException()

virtual limbo::programoptions::ProgramOptionsException::~ProgramOptionsException ( )
throw ( )
inlinevirtual

destructor

Definition at line 53 of file ProgramOptions.h.

Member Function Documentation

◆ what()

virtual const char * limbo::programoptions::ProgramOptionsException::what ( ) const
throw ( )
inlinevirtual

access message

Returns
message of the exception

Definition at line 58 of file ProgramOptions.h.

Member Data Documentation

◆ m_msg

std::string limbo::programoptions::ProgramOptionsException::m_msg
protected

message of the exception

Definition at line 60 of file ProgramOptions.h.


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