wrench::FunctionalityNotAvailable Class Reference
A "requested functionality is not available on that service" failure cause. More...
#include <FailureCause.h>
Inheritance diagram for wrench::FunctionalityNotAvailable:
Public Member Functions | |
FunctionalityNotAvailable (Service *service, std::string functionality_name) | |
Constructor. More... | |
std::string | getFunctionalityName () |
Getter. More... | |
Service * | getService () |
Getter. More... | |
std::string | toString () |
Get the human-readable failure message. More... | |
Public Member Functions inherited from wrench::FailureCause | |
FailureCause (CauseType cause) | |
Constructor. More... | |
CauseType | getCauseType () |
Retrieve the type of the failure cause. More... | |
Additional Inherited Members | |
Public Types inherited from wrench::FailureCause | |
enum | CauseType { FATAL_FAILURE, NO_STORAGE_SERVICE_FOR_FILE, NO_SCRATCH_SPACE, FILE_NOT_FOUND, FILE_ALREADY_THERE, FILE_ALREADY_BEING_COPIED, STORAGE_NOT_ENOUGH_SPACE, SERVICE_DOWN, JOB_TYPE_NOT_SUPPORTED, NOT_ENOUGH_RESOURCES, NETWORK_ERROR, NETWORK_TIMEOUT, JOB_KILLED, JOB_CANNOT_BE_TERMINATED, JOB_CANNOT_BE_FORGOTTEN, COMPUTE_THREAD_HAS_DIED, FUNCTIONALITY_NOT_AVAILABLE, JOB_TIMEOUT, HOST_ERROR } |
Types of failure causes. More... | |
Detailed Description
A "requested functionality is not available on that service" failure cause.
Constructor & Destructor Documentation
◆ FunctionalityNotAvailable()
wrench::FunctionalityNotAvailable::FunctionalityNotAvailable | ( | Service * | service, |
std::string | functionality_name | ||
) |
Constructor.
- Parameters
-
service the service functionality_name a description of the functionality that's not available
Member Function Documentation
◆ getFunctionalityName()
std::string wrench::FunctionalityNotAvailable::getFunctionalityName | ( | ) |
Getter.
- Returns
- the functionality name
◆ getService()
Service * wrench::FunctionalityNotAvailable::getService | ( | ) |
Getter.
- Returns
- the service
◆ toString()
|
virtual |
The documentation for this class was generated from the following files:
- /Users/rafsilva/Documents/isi/workspace/wrench/wrench/include/wrench/workflow/execution_events/FailureCause.h
- /Users/rafsilva/Documents/isi/workspace/wrench/wrench/src/wrench/workflow/execution_events/FailureCause.cpp