diff --git a/include/tclap/ArgException.h b/include/tclap/ArgException.h index 51cc266..3411aa9 100644 --- a/include/tclap/ArgException.h +++ b/include/tclap/ArgException.h @@ -1,3 +1,4 @@ +// -*- Mode: c++; c-basic-offset: 4; tab-width: 4; -*- /****************************************************************************** * @@ -183,6 +184,16 @@ class SpecificationException : public ArgException }; +class ExitException { +public: + ExitException(int estat) : _estat(estat) {} + + int getExitStatus() const { return _estat; } + +private: + int _estat; +}; + } // namespace TCLAP #endif