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

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

#include <Errors.h>

Inheritance diagram for GNE::UserError:

GNE::Error 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 Fri Aug 22 13:40:07 2003 for GNE by doxygen1.3