wrench::FileNotFound
-
class FileNotFound : public wrench::FailureCause
A “file was not found” failure cause.
Public Functions
Constructor.
- Parameters:
location – the location at which the file could not be found (could be nullptr)
-
std::shared_ptr<DataFile> getFile()
Get the file that wasn’t found.
- Returns:
a file
-
std::shared_ptr<FileLocation> getLocation()
Get the storage service on which the file wasn’t found.
- Returns:
a storage service
-
virtual std::string toString() override
Get the human-readable failure message.
- Returns:
a message