FileNotFoundException.hpp 943 B

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