#include <ExceptionHolder.h>
Inheritance diagram for qpid::ExceptionHolder:


Public Types | |
|
typedef boost::shared_ptr< Exception > | shared_ptr |
Public Member Functions | |
| ExceptionHolder (Exception *p) throw () | |
| ExceptionHolder (shared_ptr p) throw () | |
| ExceptionHolder (const Exception &e) throw () | |
| ExceptionHolder (const std::exception &e) | |
| const char * | what () const throw () |
| std::string | toString () const throw () |
| Exception * | clone () const throw () |
| void | throwIf () const |
| void | throwSelf () const |
Basically this is a shared_ptr with the Exception functions added so the catcher need not be aware that it is a pointer rather than a reference.
shared_ptr is chosen over auto_ptr because it has normal copy semantics.
1.4.7