Apache Qpid - AMQP Messaging for Java JMS, C++, Python, Ruby, and .NET | Apache Qpid Documentation |
Holder for exceptions. More...
#include <qpid/sys/ExceptionHolder.h>
Classes | |
struct | Wrapper |
Public Member Functions | |
ExceptionHolder () | |
template<class Ex > | |
ExceptionHolder (Ex *ex) | |
Take ownership of ex. | |
template<class Ex > | |
ExceptionHolder & | operator= (Ex *ex) |
void | raise () const |
std::string | what () const |
bool | empty () const |
operator bool () const | |
void | reset () |
Holder for exceptions.
Allows the thread that notices an error condition to create an exception and store it to be thrown by another thread.
Definition at line 41 of file ExceptionHolder.h.
|
inline |
Definition at line 43 of file ExceptionHolder.h.
|
inline |
Take ownership of ex.
Definition at line 47 of file ExceptionHolder.h.
|
inline |
Definition at line 52 of file ExceptionHolder.h.
Referenced by operator bool().
|
inline |
Definition at line 53 of file ExceptionHolder.h.
References empty().
|
inline |
Definition at line 48 of file ExceptionHolder.h.
|
inlinevirtual |
Implements qpid::sys::Raisable.
Definition at line 50 of file ExceptionHolder.h.
|
inline |
Definition at line 54 of file ExceptionHolder.h.
|
inlinevirtual |
Implements qpid::sys::Raisable.
Definition at line 51 of file ExceptionHolder.h.