/* * Author: Patrick-Christopher Mattulat * Company: Lynar Studios * E-Mail: webmaster@lynarstudios.com * Created: 2023-02-04 * Changed: 2024-05-31 * * */ #include using ls::std::core::Exception; using ls::std::core::IncompleteJsonException; using std::string; IncompleteJsonException::IncompleteJsonException() : Exception("IncompleteJsonException") {} IncompleteJsonException::IncompleteJsonException(const string &_message) : IncompleteJsonException() { this->_setMessage(_message); } IncompleteJsonException::~IncompleteJsonException() noexcept = default; const char *IncompleteJsonException::what() const noexcept { return this->_getIdentifiedMessage("this JSON string is incomplete."); }