| Apache Qpid - AMQP Messaging for Java JMS, C++, Python, Ruby, and .NET | Apache Qpid Documentation |
#include <qpid/sys/ExceptionHolder.h>
Inherits qpid::sys::Raisable.
Public Member Functions | |
| ExceptionHolder () | |
| template<class Ex> | |
| ExceptionHolder (Ex *ex) | |
| Take ownership of ex. | |
| template<class Ex> | |
| ExceptionHolder (const boost::shared_ptr< Ex > &ex) | |
| template<class Ex> | |
| ExceptionHolder & | operator= (Ex *ex) |
| template<class Ex> | |
| ExceptionHolder & | operator= (boost::shared_ptr< Ex > ex) |
| void | raise () const |
| std::string | what () const |
| bool | empty () const |
| operator bool () const | |
| void | reset () |
Classes | |
| struct | Wrapper |
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.
| qpid::sys::ExceptionHolder::ExceptionHolder | ( | ) | [inline] |
Definition at line 43 of file ExceptionHolder.h.
| qpid::sys::ExceptionHolder::ExceptionHolder | ( | Ex * | ex | ) | [inline] |
| qpid::sys::ExceptionHolder::ExceptionHolder | ( | const boost::shared_ptr< Ex > & | ex | ) | [inline] |
Definition at line 48 of file ExceptionHolder.h.
| bool qpid::sys::ExceptionHolder::empty | ( | ) | const [inline] |
| qpid::sys::ExceptionHolder::operator bool | ( | ) | const [inline] |
| ExceptionHolder& qpid::sys::ExceptionHolder::operator= | ( | boost::shared_ptr< Ex > | ex | ) | [inline] |
Definition at line 51 of file ExceptionHolder.h.
| ExceptionHolder& qpid::sys::ExceptionHolder::operator= | ( | Ex * | ex | ) | [inline] |
Definition at line 50 of file ExceptionHolder.h.
| void qpid::sys::ExceptionHolder::raise | ( | ) | const [inline, virtual] |
| void qpid::sys::ExceptionHolder::reset | ( | ) | [inline] |
Definition at line 57 of file ExceptionHolder.h.
| std::string qpid::sys::ExceptionHolder::what | ( | ) | const [inline, virtual] |
1.4.7