Exceptions are now derived from std::exception and tell source code file and line.

This commit is contained in:
lotodore
2007-10-18 20:36:49 +00:00
parent 2ba5ce4b48
commit 4c56390dc7
20 changed files with 170 additions and 147 deletions
+2 -2
View File
@@ -27,8 +27,8 @@ class ClientException : public NetException
{
public:
ClientException(int errorId, int osErrorCode)
: NetException(errorId, osErrorCode) {}
ClientException(const char *sourcefile, int sourceline, int errorId, int osErrorCode)
: NetException(sourcefile, sourceline, errorId, osErrorCode) {}
virtual ~ClientException();
};