NEST
2.6.0,not_revisioned_source_dir@0
|
Class for packaging exceptions thrown in threads. More...
#include <sliexceptions.h>
Public Member Functions | |
WrappedThreadException (std::exception &) | |
virtual | ~WrappedThreadException () throw () |
std::string | message () |
Returns a diagnostic message or empty string. More... | |
Public Member Functions inherited from SLIException | |
SLIException (char const *const what) | |
virtual | ~SLIException () throw () |
virtual const char * | what () const throw () |
Returns the SLI error name, used by raiseerror. More... | |
Private Attributes | |
std::string | message_ |
Class for packaging exceptions thrown in threads.
This class is used to wrap exceptions thrown in threads. It essentially packages the message of the wrapped exception, avoiding the need of a clone() operation for each exception type.
WrappedThreadException::WrappedThreadException | ( | std::exception & | exc | ) |
References SLIException::message(), and message_.
|
inlinevirtual |
|
inlinevirtual |
Returns a diagnostic message or empty string.
This function is not const, because it may clear internal data fields.
Implements SLIException.
References message_.
Referenced by nest::Scheduler::prepare_nodes().
|
private |
Referenced by message(), and WrappedThreadException().