summaryrefslogtreecommitdiff
path: root/src/game/GameController.cpp
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-03-29 15:17:30 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-03-29 15:17:30 (GMT)
commit289556ac7078963b6af361f5812dd62e6712359f (patch)
tree77bfff7d8594fcefe1220a0789dd69af58a48a25 /src/game/GameController.cpp
parent1f388e4ca02f0a84e4b9d9b19e6308224389818d (diff)
downloadpowder-289556ac7078963b6af361f5812dd62e6712359f.zip
powder-289556ac7078963b6af361f5812dd62e6712359f.tar.gz
Replace Error notification with exception for Tags model
Diffstat (limited to 'src/game/GameController.cpp')
-rw-r--r--src/game/GameController.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/GameController.cpp b/src/game/GameController.cpp
index e5c3013..7b08716 100644
--- a/src/game/GameController.cpp
+++ b/src/game/GameController.cpp
@@ -10,7 +10,7 @@
#include "login/LoginController.h"
#include "interface/Point.h"
#include "dialogues/ErrorMessage.h"
-#include "SaveLoadException.h"
+#include "GameModelException.h"
using namespace std;
@@ -39,7 +39,7 @@ public:
{
cc->gameModel->SetSave(new Save(*(cc->search->GetLoadedSave())));
}
- catch(SaveLoadException & ex)
+ catch(GameModelException & ex)
{
new ErrorMessage("Cannot open save", ex.what());
}