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 Thu Dec 24 19:07:21 2009 for GNE by  doxygen 1.6.1