A top-level class to describe all simulation-valid failures that can occur during workflow execution (and should/could be handled by a WMS) More...
#include <FailureCause.h>
Public Member Functions | |
FailureCause (CauseType cause) | |
Constructor. More... | |
CauseType | getCauseType () |
Retrieve the type of the failure cause. More... | |
virtual std::string | toString ()=0 |
Return an error message that describes the failure cause (to be overridden) More... | |
Detailed Description
A top-level class to describe all simulation-valid failures that can occur during workflow execution (and should/could be handled by a WMS)
Member Enumeration Documentation
◆ CauseType
Types of failure causes.
Constructor & Destructor Documentation
◆ FailureCause()
|
explicit |
Constructor.
- Parameters
-
cause the type of the failure cause
Member Function Documentation
◆ getCauseType()
FailureCause::CauseType wrench::FailureCause::getCauseType | ( | ) |
Retrieve the type of the failure cause.
- Returns
◆ toString()
|
pure virtual |
Return an error message that describes the failure cause (to be overridden)
- Returns
- an error message
Implemented in wrench::JobTimeout, wrench::FatalFailure, wrench::ComputeThreadHasDied, wrench::JobCannotBeForgotten, wrench::JobCannotBeTerminated, wrench::HostError, wrench::NetworkError, wrench::JobKilled, wrench::NotEnoughResources, wrench::FunctionalityNotAvailable, wrench::JobTypeNotSupported, wrench::ServiceIsDown, wrench::FileAlreadyBeingCopied, wrench::StorageServiceNotEnoughSpace, wrench::FileNotFound, wrench::NoScratchSpace, and wrench::NoStorageServiceForFile.
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