tclap
1.4.0
|
Thrown from within the child Arg classes when it fails to properly parse the argument it has been passed. More...
#include <ArgException.h>
Public Member Functions | |
ArgParseException (const std::string &text="undefined exception", const std::string &id="undefined") | |
Constructor. More... | |
Public Member Functions inherited from TCLAP::ArgException | |
ArgException (const std::string &text="undefined exception", const std::string &id="undefined", const std::string &td="Generic ArgException") | |
Constructor. More... | |
virtual | ~ArgException () throw () |
Destructor. More... | |
std::string | error () const |
Returns the error text. More... | |
std::string | argId () const |
Returns the argument id. More... | |
const char * | what () const throw () |
Returns the arg id and error text. More... | |
std::string | typeDescription () const |
Returns the type of the exception. More... | |
Thrown from within the child Arg classes when it fails to properly parse the argument it has been passed.
Definition at line 110 of file ArgException.h.
|
inline |
Constructor.
text | - The text of the exception. |
id | - The text identifying the argument source of the exception. |
Definition at line 118 of file ArgException.h.