An generic exception that is thrown whenever something unexpected (but simulation-valid) occurs during the simulated execution of a WMS.
More...
#include <ExecutionException.h>
An generic exception that is thrown whenever something unexpected (but simulation-valid) occurs during the simulated execution of a WMS.
◆ ExecutionException()
wrench::ExecutionException::ExecutionException |
( |
std::shared_ptr< FailureCause > |
cause | ) |
|
|
inlineexplicit |
Constructor.
- Parameters
-
cause | the cause of the failure |
◆ 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: