#include <CigiExceptions.h>
Inheritance diagram for CigiInvalidUserPacketException:
Public Member Functions | |
CigiInvalidUserPacketException (void) | |
CigiInvalidUserPacketException (Cigi_uint8 PacketID) | |
virtual | ~CigiInvalidUserPacketException (void) throw () |
Protected Attributes | |
char | ErrMsg [90] |
Definition at line 679 of file CigiExceptions.h.
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.
char CigiInvalidUserPacketException::ErrMsg[90] [protected] |
Definition at line 712 of file CigiExceptions.h.