protlib::NetMsgError Class Reference
[Network Messages]

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

Inherits protlib::ProtLibException.

Collaboration diagram for protlib::NetMsgError:

Collaboration graph
[legend]

List of all members.

Public Types

enum  error_t {
  ERROR_TOO_LONG, ERROR_NO_MEM, ERROR_INVALID_POS, ERROR_NULL_POINTER,
  ERROR_INVALID_START_OFFSET, ERROR_TOO_SHORT, ERROR_INVALID_BUFSIZE
}

Public Member Functions

 NetMsgError (error_t e)
const char * getstr () const
virtual const char * what () const throw ()

Public Attributes

const error_t err

Static Private Attributes

static const char *const errstr []


Detailed Description

Definition at line 54 of file network_message.h.


Member Enumeration Documentation

Enumerator:
ERROR_TOO_LONG 
ERROR_NO_MEM 
ERROR_INVALID_POS 
ERROR_NULL_POINTER 
ERROR_INVALID_START_OFFSET 
ERROR_TOO_SHORT 
ERROR_INVALID_BUFSIZE 

Definition at line 56 of file network_message.h.


Member Function Documentation

virtual const char* protlib::NetMsgError::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 from protlib::ProtLibException.

Definition at line 67 of file network_message.h.

References getstr().


Member Data Documentation

Definition at line 68 of file network_message.h.

Referenced by getstr().


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

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