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
+1 -1
View File
@@ -146,7 +146,7 @@ ServerGameThread::Main()
// Process current state.
GetState().Process(*this);
} while (!ShouldTerminate() && GetSessionManager().HasSessions());
} catch (const NetException &e)
} catch (const PokerTHException &e)
{
GetCallback().SignalNetServerError(e.GetErrorId(), e.GetOsErrorCode());
}