GURLS++  2.0.00
C++ Implementation of GURLS Matlab Toolbox
gurls::gException Class Reference

gException is the class designed to deal with exceptions in Gurls++ package. More...

#include <exceptions.h>

Inheritance diagram for gurls::gException:
Collaboration diagram for gurls::gException:

List of all members.

Public Member Functions

std::string getMessage () const
 Returns a description of the exception.
 gException (std::string message)
 Constructor taking a description message as argument.
const char * what () const throw ()
 Returns a description of the exception.

Private Attributes

std::string msg
 Description message, returned by getMessage and what methods.

Detailed Description

The current mechanism is very simplistic: all the exceptions are instances of this base class and different error types are identified only by the message conveyed by that specific instance. Convenience static strings have been defined within the name space in order to identify typical and frequent exceptions.

Definition at line 235 of file exceptions.h.


Member Data Documentation

std::string gurls::gException::msg [private]

Definition at line 237 of file exceptions.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends