aboutsummaryrefslogtreecommitdiff
path: root/c++-qt/src/object.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'c++-qt/src/object.cpp')
-rw-r--r--c++-qt/src/object.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/c++-qt/src/object.cpp b/c++-qt/src/object.cpp
index 85851df..d148774 100644
--- a/c++-qt/src/object.cpp
+++ b/c++-qt/src/object.cpp
@@ -15,6 +15,8 @@
15#include "gats-qt/dictionary.h" 15#include "gats-qt/dictionary.h"
16#include "gats-qt/null.h" 16#include "gats-qt/null.h"
17 17
18#include "gats-qt/parseexception.h"
19
18#include <stdlib.h> 20#include <stdlib.h>
19 21
20#include <QIODevice> 22#include <QIODevice>
@@ -68,7 +70,7 @@ Gats::Object *Gats::Object::read( QIODevice &rIn )
68 return NULL; 70 return NULL;
69 71
70 default: 72 default:
71 throw "Invalid Gats type discovered: "; 73 throw ParseException("Invalid Gats type discovered.");
72 } 74 }
73 75
74 pObj->read( rIn, buf ); 76 pObj->read( rIn, buf );