Exceptions are now derived from std::exception and tell source code file and line.
This commit is contained in:
1 parent
2ba5ce4b48
commit
4c56390dc7
20 files changed
+170
-147
No files matched your search
@@ -27,8 +27,8 @@ class LocalException : public PokerTHException
|
||||
{
|
||||
public:
|
||||
|
||||
LocalException(int errorId)
|
||||
: PokerTHException(errorId, 0) {}
|
||||
LocalException(const char *sourcefile, int sourceline, int errorId)
|
||||
: PokerTHException(sourcefile, sourceline, errorId, 0) {}
|
||||
virtual ~LocalException();
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user