tclap
1.4.0
|
Thrown when TCLAP thinks the program should exit. More...
#include <ArgException.h>
Public Member Functions | |
ExitException (int estat) | |
int | getExitStatus () const |
Thrown when TCLAP thinks the program should exit.
For example after parse error this exception will be thrown (and normally caught). This allows any resource to be clened properly before exit.
If exception handling is disabled (CmdLine::setExceptionHandling), this exception will propagate to the call site, allowing the program to catch it and avoid program termination, or do it's own cleanup. See for example, https://sourceforge.net/p/tclap/bugs/29.
Definition at line 178 of file ArgException.h.
|
inlineexplicit |
Definition at line 180 of file ArgException.h.
|
inline |
Definition at line 182 of file ArgException.h.
Referenced by TCLAP::CmdLine::parse().