WRENCH  1.11
Cyberinfrastructure Simulation Workbench
Overview Installation Getting Started WRENCH 101 WRENCH 102
Public Member Functions | List of all members
wrench::ExecutionException Class Reference

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

#include <ExecutionException.h>

Inheritance diagram for wrench::ExecutionException:

Public Member Functions

 ExecutionException (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) occurs during the simulated execution of a WMS.

Constructor & Destructor Documentation

◆ ExecutionException()

wrench::ExecutionException::ExecutionException ( std::shared_ptr< FailureCause cause)
inlineexplicit

Constructor.

Parameters
causethe cause of the failure

Member Function Documentation

◆ getCause()

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

Get the failure cause.

Returns
the failure cause

◆ what()

virtual const char* wrench::ExecutionException::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: