diff options
Diffstat (limited to 'databases/usogres/files/patch-exception.h')
-rw-r--r-- | databases/usogres/files/patch-exception.h | 68 |
1 files changed, 0 insertions, 68 deletions
diff --git a/databases/usogres/files/patch-exception.h b/databases/usogres/files/patch-exception.h deleted file mode 100644 index 004fd24a4120..000000000000 --- a/databases/usogres/files/patch-exception.h +++ /dev/null @@ -1,68 +0,0 @@ ---- src/exception.h.orig Mon Apr 15 22:00:03 2002 -+++ src/exception.h Wed Aug 20 19:01:50 2003 -@@ -37,56 +37,56 @@ - char* msg_buf; - public: - UsogresException(const char* fn, int ln); -- virtual ~UsogresException(); -+ virtual ~UsogresException() throw(); - virtual const char* where(); - }; - - class ImcompletedValueException : public UsogresException { - public: - ImcompletedValueException(const char* fn, int ln) : UsogresException(fn, ln) {} -- virtual const char* what() const { return "ImcompletedValueException"; } -+ virtual const char* what() const throw() { return "ImcompletedValueException"; } - }; - - class MemoryException : public UsogresException { - public: - MemoryException(const char* fn, int ln) : UsogresException(fn, ln) {} -- virtual const char* what() const { return "MemoryException"; } -+ virtual const char* what() const throw() { return "MemoryException"; } - }; - - class FileException : public UsogresException { - public: - FileException(const char* fn, int ln) : UsogresException(fn, ln) {} -- virtual const char* what() const { return "FileException"; } -+ virtual const char* what() const throw() { return "FileException"; } - }; - - class EnvException : public UsogresException { - public: - EnvException(const char* fn, int ln) : UsogresException(fn, ln) {} -- virtual const char* what() const { return "EnvException"; } -+ virtual const char* what() const throw() { return "EnvException"; } - }; - - class FileFormatException : public UsogresException { - public: - FileFormatException(const char* fn, int ln) : UsogresException(fn, ln) {} -- virtual const char* what() const { return "FileFormatException"; } -+ virtual const char* what() const throw() { return "FileFormatException"; } - }; - - class TokenFormatException : public UsogresException { - public: - TokenFormatException(const char* fn, int ln) : UsogresException(fn, ln) {} -- virtual const char* what() const { return "TokenFormatException"; } -+ virtual const char* what() const throw() { return "TokenFormatException"; } - }; - - class LogicalException : public UsogresException { - public: - LogicalException(const char* fn, int ln) : UsogresException(fn, ln) {} -- virtual const char* what() const { return "LogicalException"; } -+ virtual const char* what() const throw() { return "LogicalException"; } - }; - - class InvalidProtocolException : public UsogresException { - public: - InvalidProtocolException(const char* fn, int ln) : UsogresException(fn, ln) {} -- virtual const char* what() const { return "InvalidProtocolException"; } -+ virtual const char* what() const throw() { return "InvalidProtocolException"; } - }; - - #endif |