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

An error that represents a mismatch in the games during the connection process. More...

#include <Errors.h>

Inheritance diagram for GNE::WrongGame:

Inheritance graph
[legend]
Collaboration diagram for GNE::WrongGame:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 WrongGame (std::string GameName)
std::string getWrongGame () const
 Returns the mismatched game name.
virtual std::string toString () const
 Returns a string description of this error.

Detailed Description

An error that represents a mismatch in the games during the connection process.

If two GNE programs try to connect that are different games, this is the error you will get.


Member Function Documentation

std::string GNE::WrongGame::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 Tue Sep 5 23:47:47 2006 for GNE by  doxygen 1.4.7