WRENCH  1.10
Cyberinfrastructure Simulation Workbench
Overview Installation Getting Started WRENCH 101 WRENCH 102
InvalidDirectoryPath.h
1 
10 #ifndef WRENCH_INVALIDDIRECTORYPATH_H
11 #define WRENCH_INVALIDDIRECTORYPATH_H
12 
13 #include <set>
14 #include <string>
15 
16 #include "wrench/services/Service.h"
17 #include "wrench/workflow/failure_causes/FailureCause.h"
18 #include "wrench/workflow/failure_causes/InvalidDirectoryPath.h"
19 
20 namespace wrench {
21 
22  class StorageService;
23 
24  /***********************/
26  /***********************/
27 
32 
33  public:
34  /***********************/
36  /***********************/
38  std::shared_ptr<StorageService> storage_service,
39  std::string invalid_path);
40  /***********************/
42  /***********************/
43 
44  std::shared_ptr<StorageService> getStorageService();
45  std::string getInvalidPath();
46  std::string toString();
47 
48  private:
49  std::shared_ptr<StorageService> storage_service;
50  std::string invalid_path;
51  };
52 
53 
54  /***********************/
56  /***********************/
57 };
58 
59 
60 #endif //WRENCH_INVALIDDIRECTORYPATH_H
wrench::InvalidDirectoryPath
A "unknown mount point storage service" failure cause.
Definition: InvalidDirectoryPath.h:31
wrench::InvalidDirectoryPath::getInvalidPath
std::string getInvalidPath()
Get the invalid path.
Definition: InvalidDirectoryPath.cpp:47
wrench::InvalidDirectoryPath::toString
std::string toString()
Get the human-readable failure message.
Definition: InvalidDirectoryPath.cpp:55
wrench
Definition: Alarm.cpp:20
wrench::InvalidDirectoryPath::InvalidDirectoryPath
InvalidDirectoryPath(std::shared_ptr< StorageService > storage_service, std::string invalid_path)
Constructor.
Definition: InvalidDirectoryPath.cpp:29
wrench::FailureCause
A top-level class to describe all simulation-valid failures that can occur during workflow execution ...
Definition: FailureCause.h:31
wrench::InvalidDirectoryPath::getStorageService
std::shared_ptr< StorageService > getStorageService()
Get the storage service at which the path was invalid.
Definition: InvalidDirectoryPath.cpp:39