wrench::FileAlreadyBeingCopied

class FileAlreadyBeingCopied : public wrench::FailureCause

A “file is already being copied” failure cause.

Public Functions

std::shared_ptr<FileLocation> getDestinationLocation()

Getter.

Returns

the source location

std::shared_ptr<DataFile> getFile()

Getter.

Returns

the file

std::shared_ptr<FileLocation> getSourceLocation()

Getter.

Returns

the source location

virtual std::string toString() override

Get the human-readable failure message.

Returns

the message