WRENCH
1.10
Cyberinfrastructure Simulation Workbench
Overview
Installation
Getting Started
WRENCH 101
WRENCH 102
APIs Reference
User
Developer
Internal
include
wrench
workflow
failure_causes
FileNotFound.h
1
10
#ifndef WRENCH_FILENOTFOUND_H
11
#define WRENCH_FILENOTFOUND_H
12
13
#include <set>
14
#include <string>
15
16
#include "wrench/workflow/failure_causes/FailureCause.h"
17
18
namespace
wrench
{
19
20
class
WorkflowFile;
21
class
FileLocation;
22
23
/***********************/
25
/***********************/
26
30
class
FileNotFound :
public
FailureCause {
31
32
public
:
33
/***********************/
35
/***********************/
36
FileNotFound(WorkflowFile *file, std::shared_ptr<FileLocation> location);
37
/***********************/
39
/***********************/
40
41
WorkflowFile *getFile();
42
std::shared_ptr<FileLocation>
getLocation
();
43
std::string
toString
();
44
45
private
:
46
WorkflowFile *file;
47
std::shared_ptr<FileLocation> location;
48
};
49
50
/***********************/
52
/***********************/
53
};
54
55
56
#endif //WRENCH_FILENOTFOUND_H
wrench::toString
std::string toString()
Return an error message that describes the failure cause (to be overridden)
Definition:
FileLocation.cpp:116
wrench::getLocation
std::shared_ptr< FileLocation > getLocation()
Get the block's location.
Definition:
Block.cpp:151
wrench
Definition:
Alarm.cpp:20