wrench::ExecutionException

class ExecutionException : public std::exception

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

Public Functions

inline std::shared_ptr<FailureCause> getCause()

Get the failure cause.

Returns

the failure cause

inline virtual const char *what() const

Get the exception’s error message.

Returns

the exception’s message, as a C-style string