Thrown from within the child Arg classes when it fails to properly parse the argument it has been passed.
More...
Public Member Functions |
| | ArgParseException (const std::string &text="undefined exception", const std::string &id="undefined") |
| | Constructor.
|
| | ArgException (const std::string &text="undefined exception", const std::string &id="undefined", const std::string &td="Generic ArgException") |
| | Constructor.
|
| virtual | ~ArgException () throw () |
| | Destructor.
|
| std::string | error () const |
| | Returns the error text.
|
| std::string | argId () const |
| | Returns the argument id.
|
| const char * | what () const throw () |
| | Returns the arg id and error text.
|
| std::string | typeDescription () const |
| | Returns the type of the exception.
|
Detailed Description
Thrown from within the child Arg classes when it fails to properly parse the argument it has been passed.
Constructor & Destructor Documentation
| DtCmdLine::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. |
The documentation for this class was generated from the following file: