Public Member Functions | List of all members
ecl::CmdLineParseException Class Reference

Defines the exception when an argument is improperly specified. More...

#include <arg_exception.hpp>

Inheritance diagram for ecl::CmdLineParseException:
Inheritance graph

Public Member Functions

 CmdLineParseException (const std::string &text="undefined exception", const std::string &id="undefined")
- Public Member Functions inherited from ecl::ArgException
 ArgException (const std::string &text="undefined exception", const std::string &id="undefined", const std::string &td="Generic ArgException")
std::string argId () const
std::string error () const
std::string typeDescription () const
const char * what () const throw ()
virtual ~ArgException () throw ()

Detailed Description

Defines the exception when an argument is improperly specified.

Thrown from CmdLine when the arguments on the command line are not properly specified, e.g. too many arguments, required argument missing, etc.

Definition at line 143 of file arg_exception.hpp.

Constructor & Destructor Documentation

◆ CmdLineParseException()

ecl::CmdLineParseException::CmdLineParseException ( const std::string &  text = "undefined exception",
const std::string &  id = "undefined" 


text- The text of the exception.
id- The text identifying the argument source of the exception.

Definition at line 152 of file arg_exception.hpp.

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

Author(s): Daniel Stonier
autogenerated on Wed Mar 2 2022 00:16:13