From 72a9a9fc832cf82a5d864a1abaede14d1160eece Mon Sep 17 00:00:00 2001
From: Erik Verbruggen <erik.verbruggen@nokia.com>
Date: Tue, 19 Jan 2010 16:25:29 +0100
Subject: [PATCH] Missing exceptions from previous commit.

---
 .../core/exceptions/rewritingexception.cpp    | 15 ++++++++++++++
 .../core/include/rewritingexception.h         | 20 +++++++++++++++++++
 2 files changed, 35 insertions(+)
 create mode 100644 src/plugins/qmldesigner/core/exceptions/rewritingexception.cpp
 create mode 100644 src/plugins/qmldesigner/core/include/rewritingexception.h

diff --git a/src/plugins/qmldesigner/core/exceptions/rewritingexception.cpp b/src/plugins/qmldesigner/core/exceptions/rewritingexception.cpp
new file mode 100644
index 00000000000..fc07ecc90b4
--- /dev/null
+++ b/src/plugins/qmldesigner/core/exceptions/rewritingexception.cpp
@@ -0,0 +1,15 @@
+#include "rewritingexception.h"
+
+using namespace QmlDesigner;
+
+RewritingException::RewritingException(int line,
+                                       const QString &function,
+                                       const QString &file):
+        Exception(line, function, file)
+{
+}
+
+QString RewritingException::type() const
+{
+    return "RewritingException";
+}
diff --git a/src/plugins/qmldesigner/core/include/rewritingexception.h b/src/plugins/qmldesigner/core/include/rewritingexception.h
new file mode 100644
index 00000000000..984bc29e0f8
--- /dev/null
+++ b/src/plugins/qmldesigner/core/include/rewritingexception.h
@@ -0,0 +1,20 @@
+#ifndef REWRITINGEXCEPTION_H
+#define REWRITINGEXCEPTION_H
+
+#include "exception.h"
+
+namespace QmlDesigner {
+
+class RewritingException: public Exception
+{
+public:
+    RewritingException(int line,
+                       const QString &function,
+                       const QString &file);
+
+    virtual QString type() const;
+};
+
+} // namespace QmlDesigner
+
+#endif // REWRITINGEXCEPTION_H
-- 
GitLab