Update of /cvsroot/pclasses/pclasses2/include/pclasses/App
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16708/include/pclasses/App
Modified Files:
CmdLine.h
Log Message:
- Removed std::string from Exception. The base exception should not throw in any case
- Fixed CmdLineError and added extra exception info field
Index: CmdLine.h
===================================================================
RCS file: /cvsroot/pclasses/pclasses2/include/pclasses/App/CmdLine.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- CmdLine.h 24 Jan 2005 22:58:38 -0000 1.6
+++ CmdLine.h 1 Jul 2005 13:52:51 -0000 1.7
@@ -103,8 +103,11 @@
class PAPP_EXPORT CmdLineError: public RuntimeError {
public:
- CmdLineError(const std::string& what, const SourceInfo& si);
- ~CmdLineError();
+ CmdLineError(const char* what, const std::string& extra, const SourceInfo& si);
+ ~CmdLineError() throw();
+
+ private:
+ std::string _extra;
};
//! Advanced command-line parser
|