Exceptions are now derived from std::exception and tell source code file and line.
This commit is contained in:
@@ -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();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user