wrench::FileNotFound Class Reference

A "file was not found" failure cause. More...

#include <FileNotFound.h>

Inheritance diagram for wrench::FileNotFound:
wrench::FailureCause

Public Member Functions

 FileNotFound (WorkflowFile *file, std::shared_ptr< FileLocation > location)
 Constructor. More...
 
WorkflowFilegetFile ()
 Getter. More...
 
std::shared_ptr< FileLocationgetLocation ()
 Getter. More...
 
std::string toString ()
 Get the human-readable failure message. More...
 

Detailed Description

A "file was not found" failure cause.

Constructor & Destructor Documentation

◆ FileNotFound()

wrench::FileNotFound::FileNotFound ( WorkflowFile file,
std::shared_ptr< FileLocation location 
)

Constructor.

Parameters
filethe file that could not be found
locationthe location at which it could not be found

Member Function Documentation

◆ getFile()

WorkflowFile * wrench::FileNotFound::getFile ( )

Getter.

Returns
the file

◆ getLocation()

std::shared_ptr< FileLocation > wrench::FileNotFound::getLocation ( )

Getter.

Returns
the storage service

◆ toString()

std::string wrench::FileNotFound::toString ( )
virtual

Get the human-readable failure message.

Returns
the message

Implements wrench::FailureCause.


The documentation for this class was generated from the following files: