qpid::ExceptionHolder Class Reference

Holder for exceptions. More...

#include <ExceptionHolder.h>

Inherits qpid::Raisable.

List of all members.

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)
ExceptionHolderoperator= (ExceptionHolder &ex)
template<class Ex>
ExceptionHolderoperator= (Ex *ex)
template<class Ex>
ExceptionHolderoperator= (std::auto_ptr< Ex > ex)
void raise () const
std::string what () const
bool empty () const
 operator bool () const
void reset ()


Detailed Description

Holder for exceptions.

Allows the thread that notices an error condition to create an exception and store it to be thrown by another thread.


The documentation for this class was generated from the following file:

Generated on Thu May 15 22:22:20 2008 for Qpid by  doxygen 1.5.5