Added exit-exception class

This commit is contained in:
macbishop 2007-02-17 14:54:00 +00:00
parent 0363ecf25d
commit ce79a6fa1c

View File

@ -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