#include <ExceptionHolder.h>
Inherits qpid::Raisable.
Public Member Functions | |
ExceptionHolder (ExceptionHolder &ex) | |
template<class Ex> | |
ExceptionHolder (Ex *ex) | |
Take ownership of ex. | |
template<class Ex> | |
ExceptionHolder (const std::auto_ptr< Ex > &ex) | |
ExceptionHolder & | operator= (ExceptionHolder &ex) |
template<class Ex> | |
ExceptionHolder & | operator= (Ex *ex) |
template<class Ex> | |
ExceptionHolder & | operator= (std::auto_ptr< Ex > ex) |
void | raise () const |
std::string | what () const |
bool | empty () const |
operator bool () const | |
void | reset () |
Allows the thread that notices an error condition to create an exception and store it to be thrown by another thread.