a general parameter error (usally comes from boost::program_options) More...

#include "Exception.hpp"

+ Inheritance diagram for Parameter:

Public Member Functions

 Parameter (const char *errorMessage)
- Public Member Functions inherited from Base
 Base (const char *errorMessage, ErrorCode::Type errorCode=ErrorCode::unknown)
 Base (const Base &ref)
ErrorCode::Type errorCode () const
 returns the error code
const char * errorMessage () const
 returns the actual error message
const char * what () const _GLIBCXX_USE_NOEXCEPT
 returns the full error message including the error code: "Error XXXX: Text..."

Protected Member Functions

 Parameter (const char *errorMessage, ErrorCode::Type code)
 Constructor for child classes.

Additional Inherited Members

- Protected Attributes inherited from Base
ErrorCode::Type e_Code
unsigned u_MessagePos

Detailed Description

a general parameter error (usally comes from boost::program_options)