WRENCH
1.10
Cyberinfrastructure Simulation Workbench
Overview
Installation
Getting Started
WRENCH 101
WRENCH 102
APIs Reference
User
Developer
Internal
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
Functions
Typedefs
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
~
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
y
~
Variables
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
x
Enumerations
Enumerator
Files
File List
•
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Pages
include
wrench
workflow
failure_causes
NotAllowed.h
1
10
#ifndef WRENCH_NOT_ALLOWED_H
11
#define WRENCH_NOT_ALLOWED_H
12
13
#include <set>
14
#include <string>
15
16
#include "wrench/services/Service.h"
17
#include "wrench/workflow/failure_causes/FailureCause.h"
18
19
namespace
wrench
{
20
21
/***********************/
23
/***********************/
24
28
class
NotAllowed
:
public
FailureCause
{
29
public
:
30
/***********************/
32
/***********************/
33
NotAllowed
(std::shared_ptr<Service> service, std::string &error_message);
34
/***********************/
36
/***********************/
37
38
std::shared_ptr<Service>
getService
();
39
std::string
toString
();
40
41
private
:
42
std::shared_ptr<Service> service;
43
std::string error_message;
44
};
45
46
/***********************/
48
/***********************/
49
};
50
51
52
#endif //WRENCH_NOT_ALLOWED_H
wrench::NotAllowed::NotAllowed
NotAllowed(std::shared_ptr< Service > service, std::string &error_message)
Constructor.
Definition:
NotAllowed.cpp:23
wrench
Definition:
Alarm.cpp:20
wrench::NotAllowed::toString
std::string toString()
Get the human-readable failure message.
Definition:
NotAllowed.cpp:40
wrench::FailureCause
A top-level class to describe all simulation-valid failures that can occur during workflow execution ...
Definition:
FailureCause.h:31
wrench::NotAllowed
A "operation not allowed" failure cause.
Definition:
NotAllowed.h:28
wrench::NotAllowed::getService
std::shared_ptr< Service > getService()
Get the service that caused the error.
Definition:
NotAllowed.cpp:32