Exceptions are now derived from std::exception and tell source code file and line.
This commit is contained in:
@@ -27,8 +27,8 @@ class ServerException : public NetException
|
||||
{
|
||||
public:
|
||||
|
||||
ServerException(int errorId, int osErrorCode)
|
||||
: NetException(errorId, osErrorCode) {}
|
||||
ServerException(const char *sourcefile, int sourceline, int errorId, int osErrorCode)
|
||||
: NetException(sourcefile, sourceline, errorId, osErrorCode) {}
|
||||
|
||||
virtual ~ServerException();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user