protlib::IEError Class Reference
[Information Elements]

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

Inherits protlib::ProtLibException.

Inherited by protlib::IEMsgTooShort, protlib::IEProtocolSpecific, protlib::IETooBigForImpl, protlib::IEWrongLength, protlib::IEWrongSubtype, protlib::IEWrongType, protlib::IEWrongVersion, and protlib::PDUSyntaxError.

Collaboration diagram for protlib::IEError:

Collaboration graph
[legend]

List of all members.

Public Types

enum  error_t {
  ERROR_REGISTER, ERROR_CODING, ERROR_CATEGORY, ERROR_NO_IEMANAGER,
  ERROR_MSG_TOO_SHORT, ERROR_INVALID_STATE, ERROR_WRONG_TYPE, ERROR_WRONG_SUBTYPE,
  ERROR_WRONG_LENGTH, ERROR_NO_MEM, ERROR_TOO_BIG_FOR_IMPL, ERROR_UNKNOWN_ERRORCODE,
  ERROR_WRONG_VERSION, ERROR_UNEXPECTED_OBJECT, ERROR_PDU_SYNTAX, ERROR_OBJ_SET_FAILED,
  ERROR_PROT_SPECIFIC
}
 IE error code - common parsing errors. More...

Public Member Functions

 IEError (error_t e)
virtual ~IEError () throw ()
virtual const char * getstr () const

Public Attributes

const error_t err

Protected Member Functions

 IEError (std::string msg) throw ()

Static Private Attributes

static const char * err_str []
 IEError strings.


Detailed Description

IE Error base class.

This is the base for all exceptions thrown during serialize() and deserialize().

Warning:
New code should use the exceptions derived from this class. This class should be abstract but isn't for compatibility reasons.

Definition at line 158 of file ie.h.


Member Enumeration Documentation

IE error code - common parsing errors.

Enumerator:
ERROR_REGISTER 
ERROR_CODING 
ERROR_CATEGORY 
ERROR_NO_IEMANAGER 
ERROR_MSG_TOO_SHORT 
ERROR_INVALID_STATE 
ERROR_WRONG_TYPE 
ERROR_WRONG_SUBTYPE 
ERROR_WRONG_LENGTH 
ERROR_NO_MEM 
ERROR_TOO_BIG_FOR_IMPL 
ERROR_UNKNOWN_ERRORCODE 
ERROR_WRONG_VERSION 
ERROR_UNEXPECTED_OBJECT 
ERROR_PDU_SYNTAX 
ERROR_OBJ_SET_FAILED 
ERROR_PROT_SPECIFIC 

Definition at line 161 of file ie.h.


Member Data Documentation

Definition at line 181 of file ie.h.

Referenced by getstr().


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

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