Grafalgo
Library of useful data structures and algorithms
grafalgo::OutOfSpaceException Class Reference

This exception is thrown by constructors (and other methods) that are unable to allocate space for the data structure because there is no memory left to allocate. More...

#include <Exceptions.h>

Inheritance diagram for grafalgo::OutOfSpaceException:
Collaboration diagram for grafalgo::OutOfSpaceException:

List of all members.

Public Member Functions

 OutOfSpaceException (string &s)
 Construct a new object and initialize the exception string.

Detailed Description

This exception is thrown by constructors (and other methods) that are unable to allocate space for the data structure because there is no memory left to allocate.

Definition at line 63 of file Exceptions.h.


Constructor & Destructor Documentation

grafalgo::OutOfSpaceException::OutOfSpaceException ( string &  s) [inline]

Construct a new object and initialize the exception string.

Parameters:
sis a reference to a string describing the condition that triggered the exception.

Definition at line 69 of file Exceptions.h.


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