From: Mike N. <ta...@us...> - 2001-12-29 11:41:26
|
Update of /cvsroot/firebird/firebird2/src/include In directory usw-pr-cvs1:/tmp/cvs-serv2946/include Modified Files: fb_exception.h Log Message: cleaning up Index: fb_exception.h =================================================================== RCS file: /cvsroot/firebird/firebird2/src/include/fb_exception.h,v retrieving revision 1.1 retrieving revision 1.2 diff -U3 -r1.1 -r1.2 --- fb_exception.h 2001/12/24 02:50:49 1.1 +++ fb_exception.h 2001/12/29 11:41:22 1.2 @@ -29,19 +29,19 @@ namespace Firebird { -class status_longjmp_error : public std::exception +class status_exception : public std::exception { public: - explicit status_longjmp_error(STATUS s) + explicit status_exception(STATUS s) : m_s(s) {} - virtual ~status_longjmp_error() {} + virtual ~status_exception() {} virtual const char* what() const - { return "Firebird::status_longjmp_error"; } + { return "Firebird::status_exception"; } STATUS value() const { return m_s; } // TMN: to be moved into its own source file! - static void raise(STATUS s) { throw status_longjmp_error(s); } + static void raise(STATUS s) { throw status_exception(s); } private: STATUS m_s; |