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

Defines the exception that is thrown when an argument is improperly parsed. More...

#include <arg_exception.hpp>

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

Public Member Functions

 ArgParseException (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 that is thrown when an argument is improperly parsed.

Thrown from within the child Arg classes when it fails to properly parse the argument it has been passed.

Definition at line 119 of file arg_exception.hpp.

Constructor & Destructor Documentation

◆ ArgParseException()

ecl::ArgParseException::ArgParseException ( 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 128 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 Sun Aug 2 2020 03:12:03