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

A simple error class with a default ErrorCode of User for quick error messages. More...

#include <Errors.h>

Inheritance diagram for GNE::UserError:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 UserError (const std::string &msg)
virtual std::string toString () const
 Returns the message set in the constructor.

Detailed Description

A simple error class with a default ErrorCode of User for quick error messages.

This class is not used by GNE, but you are welcome to use it to throw your own exceptions, perhaps from Packet::readPacket.


The documentation for this class was generated from the following file:
Generated on Tue Sep 5 23:47:47 2006 for GNE by  doxygen 1.4.7