protlib::ProtLibException Class Reference
[Type Definitions]

#include <source/ariba/utility/transport/tcpip/protlib/protlib_types.h>

Inherited by protlib::IEError, protlib::NetMsgError, protlib::QueueManagerError, protlib::ThreadError, and protlib::TPError.

Collaboration diagram for protlib::ProtLibException:

Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual ~ProtLibException () throw ()
virtual const char * what () const throw ()
virtual const char * getstr () const

Protected Member Functions

 ProtLibException () throw ()
 ProtLibException (std::string msg) throw ()

Protected Attributes

std::string error_msg


Detailed Description

The abstract base class for all exceptions thrown by protlib.

Definition at line 74 of file protlib_types.h.


Constructor & Destructor Documentation

virtual protlib::ProtLibException::~ProtLibException (  )  throw () [inline, virtual]

Definition at line 76 of file protlib_types.h.

protlib::ProtLibException::ProtLibException (  )  throw () [inline, protected]

Definition at line 96 of file protlib_types.h.

protlib::ProtLibException::ProtLibException ( std::string  msg  )  throw () [inline, protected]

Definition at line 97 of file protlib_types.h.


Member Function Documentation

virtual const char* protlib::ProtLibException::getstr (  )  const [inline, virtual]

virtual const char* protlib::ProtLibException::what (  )  const throw () [inline, virtual]

Get a printable string representation of the error.

Warning:
Note that the data this pointer refers to still belongs to the exception object. It is only valid as long as the exception object exists.
Returns:
the error message

Reimplemented in protlib::NetMsgError, protlib::QueueManagerError, protlib::ThreadError, and protlib::TPError.

Definition at line 87 of file protlib_types.h.

References error_msg.

Referenced by getstr(), and protlib::operator<<().


Member Data Documentation

std::string protlib::ProtLibException::error_msg [protected]


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

Generated on Fri Aug 14 23:39:52 2009 for Ariba by  doxygen 1.5.8