IncompleteJsonException.cpp 822 B

123456789101112131415161718192021222324252627282930
  1. /*
  2. * Author: Patrick-Christopher Mattulat
  3. * Company: Lynar Studios
  4. * E-Mail: webmaster@lynarstudios.com
  5. * Created: 2023-02-04
  6. * Changed: 2025-12-21
  7. *
  8. * */
  9. #include <ls-std/core/exception/IncompleteJsonException.hpp>
  10. using ls::std::core::Exception;
  11. using ls::std::core::IncompleteJsonException;
  12. using std::move;
  13. using std::string;
  14. IncompleteJsonException::IncompleteJsonException() : Exception("IncompleteJsonException")
  15. {}
  16. IncompleteJsonException::IncompleteJsonException(const string &_message) : IncompleteJsonException()
  17. {
  18. this->_setMessage(_message);
  19. }
  20. IncompleteJsonException::~IncompleteJsonException() noexcept = default;
  21. const char *IncompleteJsonException::what() const noexcept
  22. {
  23. return this->_getIdentifiedMessage("this JSON string is incomplete.");
  24. }