diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-02-16 21:28:08 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-02-16 21:28:08 +0300 |
commit | 82ac4641828ec7387863bb18cf4493190c4cc68f (patch) | |
tree | 54fa2aeeff83109ca289894bf08bc767084050a3 /src/gui/base/gui.cpp | |
parent | 07e8275965ccb989e3bcc288e2440bffcbca4a8e (diff) | |
download | manaplus-82ac4641828ec7387863bb18cf4493190c4cc68f.tar.gz manaplus-82ac4641828ec7387863bb18cf4493190c4cc68f.tar.bz2 manaplus-82ac4641828ec7387863bb18cf4493190c4cc68f.tar.xz manaplus-82ac4641828ec7387863bb18cf4493190c4cc68f.zip |
Remove Exception class.
Diffstat (limited to 'src/gui/base/gui.cpp')
-rw-r--r-- | src/gui/base/gui.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/gui/base/gui.cpp b/src/gui/base/gui.cpp index f16048bbb..e6fc79856 100644 --- a/src/gui/base/gui.cpp +++ b/src/gui/base/gui.cpp @@ -68,7 +68,6 @@ #include "gui/base/gui.hpp" #include "gui/base/basiccontainer.hpp" -#include "gui/base/exception.hpp" #include "gui/base/focushandler.hpp" #include "gui/base/input.hpp" #include "gui/base/keyinput.hpp" @@ -532,7 +531,7 @@ namespace gcn (*it)->mouseClicked(mouseEvent); break; default: - throw GCN_EXCEPTION("Unknown mouse event type."); + break; } } @@ -608,7 +607,7 @@ namespace gcn (*it)->keyReleased(keyEvent); break; default: - throw GCN_EXCEPTION("Unknown key event type."); + break; } } } @@ -641,7 +640,7 @@ namespace gcn (*it)->keyReleased(keyEvent); break; default: - throw GCN_EXCEPTION("Unknown key event type."); + break; } if (keyEvent.isConsumed()) |