FileOperationException.hpp 1.0 KB

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