Main Page   Modules   Namespace List   Class Hierarchy   Compound List   Namespace Members   Compound Members   Related Pages  

GNE::UnknownPacket Class Reference
[Mid-Level API]

#include <Errors.h>

Inheritance diagram for GNE::UnknownPacket:

GNE::Error List of all members.

Public Member Functions

 UnknownPacket (int type)
int getUnknownType ()
virtual std::string toString () const
 Returns a string description of this error.


Detailed Description

An Error when a Packet is received from the network that has an ID that is not registered with the PacketParser.


Member Function Documentation

std::string GNE::UnknownPacket::toString  )  const [virtual]
 

Returns a string description of this error.

When possible, the string is "programmer-friendly," so you will probably want to only use this to write a debug message or out to a log, and tell the user more about the error.

Reimplemented from GNE::Error.


The documentation for this class was generated from the following files:
Generated on Fri Aug 22 13:40:07 2003 for GNE by doxygen1.3