CigiInvalidUserPacketException Class Reference

#include <CigiExceptions.h>

Inheritance diagram for CigiInvalidUserPacketException:

CigiException exception List of all members.

Public Member Functions

 CigiInvalidUserPacketException (void)
 CigiInvalidUserPacketException (Cigi_uint8 PacketID)
virtual ~CigiInvalidUserPacketException (void) throw ()

Protected Attributes

char ErrMsg [90]

Detailed Description

This is the exception thrown when a problem involving an attempted use of the wrong CIGI version is encountered.

Definition at line 679 of file CigiExceptions.h.


Constructor & Destructor Documentation

CigiInvalidUserPacketException::CigiInvalidUserPacketException ( void   )  [inline]

General Constructor for the CigiInvalidUserPacketException exception class

Definition at line 688 of file CigiExceptions.h.

References CIGI_ERROR_INVALID_USER_PACKET.

00689    {
00690       memcpy(ErrMsg,"Cigi User Defined Packets Must Have an ID above 199\n",56);
00691       Msg = ErrMsg;
00692       ErrorCode = CIGI_ERROR_INVALID_USER_PACKET;
00693    }

CigiInvalidUserPacketException::CigiInvalidUserPacketException ( Cigi_uint8  PacketID  )  [inline]

Constructor used to specify the invalid user packet id

Definition at line 699 of file CigiExceptions.h.

References CIGI_ERROR_INVALID_USER_PACKET.

00700    {
00701       int IPacketID = (int)PacketID;
00702       sprintf(ErrMsg,"Cigi User Defined Packets Must Have an ID above 199\nUsed ID was %d\n",IPacketID);
00703       Msg = ErrMsg;
00704       ErrorCode = CIGI_ERROR_INVALID_USER_PACKET;
00705    }

virtual CigiInvalidUserPacketException::~CigiInvalidUserPacketException ( void   )  throw () [inline, virtual]

General Destructor for the CigiWrongVersionException exception class

Definition at line 712 of file CigiExceptions.h.

00712 { };


Member Data Documentation

char CigiInvalidUserPacketException::ErrMsg[90] [protected]

Definition at line 712 of file CigiExceptions.h.


The documentation for this class was generated from the following file:
Generated on Wed Apr 29 09:00:09 2009 for CCL by  doxygen 1.4.7