summaryrefslogtreecommitdiffstats
path: root/logic/Json.h
diff options
context:
space:
mode:
Diffstat (limited to 'logic/Json.h')
-rw-r--r--logic/Json.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/logic/Json.h b/logic/Json.h
index 55f0cfc1..f03f777a 100644
--- a/logic/Json.h
+++ b/logic/Json.h
@@ -16,7 +16,11 @@
namespace Json
{
-DECLARE_EXCEPTION(Json);
+class MULTIMC_LOGIC_EXPORT JsonException : public ::Exception
+{
+public:
+ JsonException(const QString &message) : Exception(message) {}
+};
/// @throw FileSystemException
void write(const QJsonDocument &doc, const QString &filename);