GVectors::GVException Class Reference

The base exception class. More...

#include <gvexceptions.h>

Inheritance diagram for GVectors::GVException:

GVectors::GVEDynCastFailed GVectors::GVEInvalidMatrixIndex GVectors::GVEInvalidMDimension GVectors::GVEItemNotFound GVectors::GVEStoreCorrupt GVectors::GVEUnsupported GVectors::GVEWrongFileVersion GVectors::GVEXMLFileWrite GVectors::GVEXMLInvalid List of all members.

Public Member Functions

 GVException () throw ()
 Constructor.
 GVException (const std::string &w) throw ()
 Constructor.
virtual ~GVException () throw ()
 Destructor.
virtual const char * what () const throw ()
 Retrieves the char pointer the error message.

Protected Attributes

std::string str_what
 String holding the error message.

Detailed Description

The base exception class. All other libgfileio related exceptions are derived from this class


Constructor & Destructor Documentation

GVException::GVException (  )  throw () [explicit]

Constructor. Initializes str_what to 'GVException'.

GVException::GVException ( const std::string &  w  )  throw () [explicit]

Constructor. Initializes str_what to the string provided.

Parameters:
w The string assigned to str_what.

GVException::~GVException (  )  throw () [virtual]

Destructor. Does nothing. Just for completeness.


Member Function Documentation

const char * GVException::what (  )  const throw () [virtual]

Returns a const char point to str_what.

Returns:
A const char pointer to str_what.


Member Data Documentation

std::string GVectors::GVException::str_what [protected]

Holds the error message associated with the exception.


The documentation for this class was generated from the following files:
Generated on Sat Sep 8 19:37:30 2007 for libgvectors by  doxygen 1.4.7