coral
A C++ library for distributed co-simulation
|
An exception that signals an error that has caused CommThread's background thread to terminate unexpectedly. More...
#include "coral/async.hpp"
Public Member Functions | |
CommThreadDead (std::exception_ptr originalException) CORAL_NOEXCEPT | |
Constructor. | |
std::exception_ptr | OriginalException () const CORAL_NOEXCEPT |
Returns a pointer to the exception that caused the thread to terminate. | |
const char * | what () const CORAL_NOEXCEPT override |
Returns a generic error message saying that the background thread died. | |
An exception that signals an error that has caused CommThread's background thread to terminate unexpectedly.
The original exception that caused the thread to terminate can be obtained through the OriginalException() method.