wrench::JobCannotBeTerminated Class Reference

A "job cannot be terminated" failure cause. More...

#include <FailureCause.h>

Inheritance diagram for wrench::JobCannotBeTerminated:
wrench::FailureCause

Public Member Functions

 JobCannotBeTerminated (WorkflowJob *job)
 Constructor. More...
 
WorkflowJobgetJob ()
 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 "job cannot be terminated" failure cause.

Constructor & Destructor Documentation

◆ JobCannotBeTerminated()

wrench::JobCannotBeTerminated::JobCannotBeTerminated ( WorkflowJob job)

Constructor.

Parameters
operation_typeNetworkTimeout::OperationType::SENDING or NetworkTimeout::OperationType::RECEIVING
mailboxthe mailbox name Returns whether the network error occurred while receiving
Returns
true or false Returns whether the network error occurred while sending
true or false Returns the mailbox name on which the error occurred
the mailbox name Get the human-readable failure message
the message Constructor
Parameters
jobthe job that couldn't be terminated

Member Function Documentation

◆ getJob()

WorkflowJob * wrench::JobCannotBeTerminated::getJob ( )

Getter.

Returns
the job

◆ toString()

std::string wrench::JobCannotBeTerminated::toString ( )
virtual

Get the human-readable failure message.

Returns
the message

Implements wrench::FailureCause.


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