FileNotFoundException.hpp 656 B

12345678910111213141516171819202122232425262728293031
  1. /*
  2. * Author: Patrick-Christopher Mattulat
  3. * Company: Lynar Studios
  4. * E-Mail: webmaster@lynarstudios.com
  5. * Created: 2020-08-17
  6. * Changed: 2023-02-04
  7. *
  8. * */
  9. #ifndef LS_STD_FILE_NOT_FOUND_EXCEPTION_HPP
  10. #define LS_STD_FILE_NOT_FOUND_EXCEPTION_HPP
  11. #include <cstring>
  12. #include <exception>
  13. #include <string>
  14. //TODO: pass parameters, use class, show class name
  15. namespace ls::std::core
  16. {
  17. class FileNotFoundException : public ::std::exception
  18. {
  19. public:
  20. FileNotFoundException();
  21. ~FileNotFoundException() override;
  22. [[nodiscard]] const char *what() const noexcept override;
  23. };
  24. }
  25. #endif