wrench::FileNotFound Class Reference
A "file was not found" failure cause. More...
#include <FailureCause.h>
Inheritance diagram for wrench::FileNotFound:
Public Member Functions | |
FileNotFound (WorkflowFile *file, std::shared_ptr< FileLocation > location) | |
Constructor. More... | |
WorkflowFile * | getFile () |
Getter. More... | |
std::shared_ptr< FileLocation > | getLocation () |
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
-
file the file that could not be found location the 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()
|
virtual |
The documentation for this class was generated from the following files:
- /home/wrench/wrench/include/wrench/workflow/execution_events/FailureCause.h
- /home/wrench/wrench/src/wrench/workflow/execution_events/FailureCause.cpp