| 1 | // |
| 2 | // JSONException.h |
| 3 | // |
| 4 | // Library: JSON |
| 5 | // Package: JSON |
| 6 | // Module: JSONException |
| 7 | // |
| 8 | // Definition of the JSONException class. |
| 9 | // |
| 10 | // Copyright (c) 2012, Applied Informatics Software Engineering GmbH. |
| 11 | // and Contributors. |
| 12 | // |
| 13 | // SPDX-License-Identifier: BSL-1.0 |
| 14 | // |
| 15 | |
| 16 | |
| 17 | #ifndef JSON_JSONException_INCLUDED |
| 18 | #define JSON_JSONException_INCLUDED |
| 19 | |
| 20 | |
| 21 | #include "Poco/JSON/JSON.h" |
| 22 | #include "Poco/Exception.h" |
| 23 | |
| 24 | |
| 25 | namespace Poco { |
| 26 | namespace JSON { |
| 27 | |
| 28 | |
| 29 | POCO_DECLARE_EXCEPTION(JSON_API, JSONException, Poco::Exception) |
| 30 | |
| 31 | |
| 32 | } } // namespace Poco::JSON |
| 33 | |
| 34 | |
| 35 | #endif // JSON_JSONException_INCLUDED |
| 36 | |