WRENCH  1.10
Cyberinfrastructure Simulation Workbench
Overview Installation Getting Started WRENCH 101 WRENCH 102
NoScratchSpace.h
1 
10 #ifndef WRENCH_NOSCRATCHSPACE_H
11 #define WRENCH_NOSCRATCHSPACE_H
12 
13 #include <set>
14 #include <string>
15 
16 #include "wrench/workflow/failure_causes/FailureCause.h"
17 #include "wrench/workflow/failure_causes/NoScratchSpace.h"
18 
19 namespace wrench {
20 
21  /***********************/
23  /***********************/
24 
28  class NoScratchSpace : public FailureCause {
29 
30  public:
31  /***********************/
33  /***********************/
34  NoScratchSpace(std::string error);
35  /***********************/
37  /***********************/
38 
39  std::string toString();
40  private:
41  std::string error;
42  };
43 
44  /***********************/
46  /***********************/
47 };
48 
49 
50 #endif //WRENCH_NOSCRATCHSPACE_H
wrench::NoScratchSpace::NoScratchSpace
NoScratchSpace(std::string error)
Constructor.
Definition: NoScratchSpace.cpp:24
wrench::NoScratchSpace::toString
std::string toString()
Get the human-readable failure message.
Definition: NoScratchSpace.cpp:32
wrench
Definition: Alarm.cpp:20
wrench::NoScratchSpace
A "no scratch space" failure cause.
Definition: NoScratchSpace.h:28
wrench::FailureCause
A top-level class to describe all simulation-valid failures that can occur during workflow execution ...
Definition: FailureCause.h:31