wrench::WorkflowExecutionException Class Reference

An generic exception that is thrown whenever something unexpected (but simulation-valid) occurrs during the simulated execution of a WMS. More...

#include <WorkflowExecutionException.h>

Inheritance diagram for wrench::WorkflowExecutionException:

Public Member Functions

 WorkflowExecutionException (std::shared_ptr< FailureCause > cause)
 Constructor. More...
 
std::shared_ptr< FailureCausegetCause ()
 Get the failure cause. More...
 
virtual const char * what () const throw ()
 Get the exception's error message. More...
 

Detailed Description

An generic exception that is thrown whenever something unexpected (but simulation-valid) occurrs during the simulated execution of a WMS.

Constructor & Destructor Documentation

◆ WorkflowExecutionException()

wrench::WorkflowExecutionException::WorkflowExecutionException ( std::shared_ptr< FailureCause cause)
inline

Constructor.

Parameters
causethe cause of the failure Constructor
causethe cause of the failure

Member Function Documentation

◆ getCause()

std::shared_ptr<FailureCause> wrench::WorkflowExecutionException::getCause ( )
inline

Get the failure cause.

Returns
the failure cause

◆ what()

virtual const char* wrench::WorkflowExecutionException::what ( ) const
throw (
)
inlinevirtual

Get the exception's error message.

Returns
the exception's message, as a C-style string

The documentation for this class was generated from the following file: