Public Member Functions
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
[legend]

List of all members.

Public Member Functions

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

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 141 of file arg_exception.hpp.


Constructor & Destructor Documentation

ecl::CmdLineParseException::CmdLineParseException ( const std::string &  text = "undefined exception",
const std::string &  id = "undefined" 
) [inline]

Constructor.

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

Definition at line 150 of file arg_exception.hpp.


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


ecl_command_line
Author(s): Daniel Stonier
autogenerated on Thu Jun 6 2019 21:17:17