#include <source/ariba/utility/transport/tcpip/protlib/protlib_types.h>
Inherited by protlib::IEError, protlib::NetMsgError, protlib::QueueManagerError, protlib::ThreadError, and protlib::TPError.
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 |
Definition at line 74 of file protlib_types.h.
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.
virtual const char* protlib::ProtLibException::getstr | ( | ) | const [inline, virtual] |
Deprecated: Use what() instead.
Reimplemented in protlib::IEError, protlib::NetMsgError, protlib::QueueManagerError, protlib::ThreadError, protlib::TPError, protlib::TPErrorBadDestAddress, protlib::TPErrorArgsNotInit, protlib::TPErrorUnreachable, protlib::TPErrorInternal, protlib::TPErrorPayload, protlib::TPErrorInitFailed, protlib::TPErrorSendFailed, protlib::TPErrorConnectSetupFail, protlib::TPErrorCloseInd, and protlib::TPErrorAbortInd.
Definition at line 92 of file protlib_types.h.
References what().
Referenced by protlib::Thread::start_processing().
virtual const char* protlib::ProtLibException::what | ( | ) | const throw () [inline, virtual] |
Get a printable string representation of the error.
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<<().
std::string protlib::ProtLibException::error_msg [protected] |
Definition at line 99 of file protlib_types.h.
Referenced by protlib::IEMsgTooShort::IEMsgTooShort(), protlib::IEProtocolSpecific::IEProtocolSpecific(), protlib::IETooBigForImpl::IETooBigForImpl(), protlib::IEWrongLength::IEWrongLength(), protlib::IEWrongSubtype::IEWrongSubtype(), protlib::IEWrongType::IEWrongType(), protlib::IEWrongVersion::IEWrongVersion(), protlib::PDUSyntaxError::PDUSyntaxError(), and what().