NotImplementedException.hpp 937 B

123456789101112131415161718192021222324252627282930313233343536
  1. /*
  2. * Author: Patrick-Christopher Mattulat
  3. * Company: Lynar Studios
  4. * E-Mail: webmaster@lynarstudios.com
  5. * Created: 2023-03-27
  6. * Changed: 2024-09-11
  7. *
  8. * */
  9. #ifndef LS_STD_NOT_IMPLEMENTED_EXCEPTION_HPP
  10. #define LS_STD_NOT_IMPLEMENTED_EXCEPTION_HPP
  11. #include "Exception.hpp"
  12. #include <ls-std/os/dynamic-goal.hpp>
  13. #include <string>
  14. /*
  15. * @doc: class(name: 'NotImplementedException', package: 'core')
  16. * @doc: core.NotImplementedException.description('This exception can be thrown in case a called method is not implemented.')
  17. * */
  18. namespace ls::std::core
  19. {
  20. class LS_STD_DYNAMIC_GOAL NotImplementedException : public ls::std::core::Exception
  21. {
  22. public:
  23. NotImplementedException();
  24. explicit NotImplementedException(const ::std::string &_message);
  25. ~NotImplementedException() noexcept override;
  26. [[nodiscard]] const char *what() const noexcept override;
  27. };
  28. }
  29. #endif