diff options
author | Matthias Schiffer <matthias@gamezock.de> | 2008-09-19 11:15:14 +0200 |
---|---|---|
committer | Matthias Schiffer <matthias@gamezock.de> | 2008-09-19 11:15:14 +0200 |
commit | 113b1f4bbdecfab24ed9781b730a76a442adad6f (patch) | |
tree | e28f5c9a7a1afebd7d920f1006aacff401894dbc /src/madc.cpp | |
parent | 793a0789858734141dfa12d2ab3dd6ea3ed293e8 (diff) | |
download | mad-113b1f4bbdecfab24ed9781b730a76a442adad6f.tar mad-113b1f4bbdecfab24ed9781b730a76a442adad6f.zip |
Exceptions vereinheitlicht
Diffstat (limited to 'src/madc.cpp')
-rw-r--r-- | src/madc.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/madc.cpp b/src/madc.cpp index 66e235d..48b15c9 100644 --- a/src/madc.cpp +++ b/src/madc.cpp @@ -118,8 +118,8 @@ int main(int argc, char *argv[]) { Mad::Common::RequestManager::getRequestManager()->unregisterConnection(connection); } - catch(Mad::Net::Exception &e) { - Mad::Common::Logger::log(Mad::Common::Logger::CRITICAL, "Connection error: " + e.what()); + catch(Mad::Common::Exception &e) { + Mad::Common::Logger::log(Mad::Common::Logger::CRITICAL, "Connection error: " + e.strerror()); } delete connection; |