Defines the exception that is thrown when an argument is improperly parsed. More...
#include <arg_exception.hpp>
Public Member Functions | |
ArgParseException (const std::string &text="undefined exception", const std::string &id="undefined") |
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 117 of file arg_exception.hpp.
ecl::ArgParseException::ArgParseException | ( | const std::string & | text = "undefined exception" , |
const std::string & | id = "undefined" |
||
) | [inline] |
Constructor.
text | - The text of the exception. |
id | - The text identifying the argument source of the exception. |
Definition at line 126 of file arg_exception.hpp.