Public Member Functions
ecl::SpecificationException Class Reference

Defines the exception that is thrown whenever a conflict in arguments occurs. More...

#include <arg_exception.hpp>

Inheritance diagram for ecl::SpecificationException:
Inheritance graph
[legend]

List of all members.

Public Member Functions

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

Detailed Description

Defines the exception that is thrown whenever a conflict in arguments occurs.

Thrown from Arg and CmdLine when an Arg is improperly specified, e.g. same flag as another Arg, same name, etc.

Definition at line 167 of file arg_exception.hpp.


Constructor & Destructor Documentation

ecl::SpecificationException::SpecificationException ( 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 176 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:18