protlib::TPError Class Reference
[Transport Protocol]

Transport Protocol Error. More...

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

Inherits protlib::ProtLibException.

Inherited by protlib::TPErrorAbortInd, protlib::TPErrorArgsNotInit, protlib::TPErrorBadDestAddress, protlib::TPErrorCloseInd, protlib::TPErrorConnectSetupFail, protlib::TPErrorInitFailed, protlib::TPErrorInternal, protlib::TPErrorPayload, protlib::TPErrorSendFailed, and protlib::TPErrorUnreachable.

Collaboration diagram for protlib::TPError:

Collaboration graph
[legend]

List of all members.

Public Types

enum  tp_error_t {
  TPERR_OK, TPERR_BAD_ADDRESS, TPERR_BAD_NETMSG, TPERR_ARGS_NOT_INIT,
  TPERR_UNREACHABLE, TPERR_INTERNAL, TPERR_PAYLOAD, TPERR_INITFAILED,
  TPERR_SENDFAILED, TPERR_CONNSETUPFAIL, TPERR_CLOSEIND, TPERR_ABORTIND
}
 TP error codes. More...

Public Member Functions

 TPError (tp_error_t e)
 constructor
virtual const char * getstr () const =0
 get error string
virtual const char * what () const throw ()

Public Attributes

const tp_error_t errtype
 error code


Detailed Description

Transport Protocol Error.

Reports a TP error while connection setup, sending a network message or initialization.

Definition at line 50 of file tperror.h.


Member Enumeration Documentation

TP error codes.

Enumerator:
TPERR_OK 
TPERR_BAD_ADDRESS 
TPERR_BAD_NETMSG 
TPERR_ARGS_NOT_INIT 
TPERR_UNREACHABLE 
TPERR_INTERNAL 
TPERR_PAYLOAD 
TPERR_INITFAILED 
TPERR_SENDFAILED 
TPERR_CONNSETUPFAIL 
TPERR_CLOSEIND 
TPERR_ABORTIND 

Definition at line 53 of file tperror.h.


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

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