wrench::FileNotFound

class FileNotFound : public wrench::FailureCause

A “file was not found” failure cause.

Public Functions

FileNotFound(std::shared_ptr<FileLocation> location)

Constructor.

Parameters:

location – the location at which the file could not be found (could be nullptr)

std::shared_ptr<DataFile> getFile()

Getter.

Returns:

the file

std::shared_ptr<FileLocation> getLocation()

Getter.

Returns:

the storage service

virtual std::string toString() override

Get the human-readable failure message.

Returns:

the message