Defines the exception that is thrown whenever a conflict in arguments occurs. More...
#include <arg_exception.hpp>
Public Member Functions | |
SpecificationException (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 () |
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 169 of file arg_exception.hpp.
|
inline |
Constructor.
text | - The text of the exception. |
id | - The text identifying the argument source of the exception. |
Definition at line 178 of file arg_exception.hpp.