FileOperationException.cpp 802 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/FileOperationException.hpp>
  10. using ls::std::core::Exception;
  11. using ls::std::core::FileOperationException;
  12. using std::move;
  13. using std::string;
  14. FileOperationException::FileOperationException() : Exception("FileOperationException")
  15. {}
  16. FileOperationException::FileOperationException(const string &_message) : FileOperationException()
  17. {
  18. this->_setMessage(_message);
  19. }
  20. FileOperationException::~FileOperationException() noexcept = default;
  21. const char *FileOperationException::what() const noexcept
  22. {
  23. return this->_getIdentifiedMessage("file operation failed!");
  24. }