/* * Author: Patrick-Christopher Mattulat * Company: Lynar Studios * E-Mail: webmaster@lynarstudios.com * Created: 2023-02-04 * Changed: 2023-05-19 * * */ #include <ls-std/core/exception/ExceptionMessage.hpp> #include <ls-std/core/exception/FileOperationException.hpp> using ls::std::core::Exception; using ls::std::core::FileOperationException; using std::move; using std::string; FileOperationException::FileOperationException() : Exception("FileOperationException") {} FileOperationException::FileOperationException(const string &_message) : FileOperationException() { this->_setMessage(_message); } FileOperationException::~FileOperationException() noexcept = default; const char *FileOperationException::what() const noexcept { return this->_getIdentifiedMessage("file operation failed!"); }