WRENCH
1.11
Cyberinfrastructure Simulation Workbench
Overview
Installation
Getting Started
WRENCH 101
WRENCH 102
APIs Reference
User
Developer
Internal
include
wrench
failure_causes
FatalFailure.h
1
10
#ifndef WRENCH_FATAL_FAILURE_H
11
#define WRENCH_FATAL_FAILURE_H
12
13
#include <set>
14
#include <string>
15
16
#include "FailureCause.h"
17
18
namespace
wrench
{
19
20
/***********************/
22
/***********************/
23
27
class
FatalFailure :
public
FailureCause {
28
public
:
29
/***********************/
31
/***********************/
32
FatalFailure(std::string message);
33
/***********************/
35
/***********************/
36
37
std::string
toString
();
38
39
private
:
40
std::string message;
41
};
42
43
44
/***********************/
46
/***********************/
47
};
48
49
50
#endif //WRENCH_FATAL_FAILURE_H
wrench::toString
std::string toString() override
Return an error message that describes the failure cause (to be overridden)
Definition:
ComputeThreadHasDied.cpp:29
wrench
Definition:
Action.cpp:28