diff options
author | Petr Mrázek <peterix@gmail.com> | 2015-09-05 18:46:57 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2015-09-05 18:46:57 +0200 |
commit | 23d0bd8edde6aadfaa282215b5f143ad16210438 (patch) | |
tree | a14d3f47b51716fb784cb426eedd0a2e2d756b4f /logic/Json.h | |
parent | cd108fd02975eac3a3fed2fde26c58de5cbdaf1c (diff) | |
download | MultiMC-23d0bd8edde6aadfaa282215b5f143ad16210438.tar MultiMC-23d0bd8edde6aadfaa282215b5f143ad16210438.tar.gz MultiMC-23d0bd8edde6aadfaa282215b5f143ad16210438.tar.lz MultiMC-23d0bd8edde6aadfaa282215b5f143ad16210438.tar.xz MultiMC-23d0bd8edde6aadfaa282215b5f143ad16210438.zip |
NOISSUE make shared logic library ... shared
Diffstat (limited to 'logic/Json.h')
-rw-r--r-- | logic/Json.h | 6 |
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); |