Index: ossp-pkg/as/as-gui/as_except.cpp RCS File: /v/ossp/cvs/ossp-pkg/as/as-gui/as_except.cpp,v co -q -kk -p'1.1' '/v/ossp/cvs/ossp-pkg/as/as-gui/as_except.cpp,v' | diff -u /dev/null - -L'ossp-pkg/as/as-gui/as_except.cpp' 2>/dev/null --- ossp-pkg/as/as-gui/as_except.cpp +++ - 2025-04-11 21:52:49.962985316 +0200 @@ -0,0 +1,14 @@ +#include "titrex.h" + +// Report general exception +void Genexcept::reportErr(void) +{ + // Basically, print the message and exit + using namespace std; + cout << szMessage << endl; +} + +// Destroy general exception +Genexcept::~Genexcept(void) +{ +} Index: ossp-pkg/as/as-gui/as_except.h RCS File: /v/ossp/cvs/ossp-pkg/as/as-gui/as_except.h,v co -q -kk -p'1.1' '/v/ossp/cvs/ossp-pkg/as/as-gui/as_except.h,v' | diff -u /dev/null - -L'ossp-pkg/as/as-gui/as_except.h' 2>/dev/null --- ossp-pkg/as/as-gui/as_except.h +++ - 2025-04-11 21:52:49.965573509 +0200 @@ -0,0 +1,21 @@ +#ifndef TITRAQEXCEPT_H +#define TITRAQEXCEPT_H + +#include + + +// General string-based exceptions +// FIXME: Rewrite according to +// OSSP error handling policy +class Genexcept +{ +private: + char *szMessage; + +public: + Genexcept(char *szInmess) {szMessage = szInmess;}; + void reportErr(void); + ~Genexcept(void); +}; + +#endif // TITRAQEXCEPT_H