#include <OMKNoMemoryAvailableException.h>
Inheritance diagram for OMK::NoMemoryAvailableException:
Public Member Functions | |
NoMemoryAvailableException (const std::string &message, size_t &size) | |
constructor | |
NoMemoryAvailableException (const NoMemoryAvailableException &) | |
copy constructor | |
virtual | ~NoMemoryAvailableException () |
destructor | |
virtual size_t | getNeededSize () |
get the requested size that couldn't be allocated | |
Protected Attributes | |
size_t | _sizeAskedFor |
the requested size that couldn't be allocated |
Definition at line 26 of file OMKNoMemoryAvailableException.h.
NoMemoryAvailableException::NoMemoryAvailableException | ( | const std::string & | message, | |
size_t & | size | |||
) |
constructor
message | the exception message | |
size | the size that couldn't be allocated |
Definition at line 21 of file OMKNoMemoryAvailableException.cpp.
00021 : Exception(mess), _sizeAskedFor(sizeAskedFor) { 00022 //cerr<<"construction de l'exception"<<endl; 00023 }
NoMemoryAvailableException::NoMemoryAvailableException | ( | const NoMemoryAvailableException & | ) |
copy constructor
Definition at line 25 of file OMKNoMemoryAvailableException.cpp.
00025 : Exception(orig), _sizeAskedFor(orig._sizeAskedFor) { 00026 //cerr<<"copie de l'exception"<<endl; 00027 }
NoMemoryAvailableException::~NoMemoryAvailableException | ( | ) | [virtual] |
size_t NoMemoryAvailableException::getNeededSize | ( | ) | [virtual] |
get the requested size that couldn't be allocated
Definition at line 33 of file OMKNoMemoryAvailableException.cpp.
References _sizeAskedFor.
00033 { 00034 return _sizeAskedFor ; 00035 }
size_t OMK::NoMemoryAvailableException::_sizeAskedFor [protected] |
the requested size that couldn't be allocated
Definition at line 48 of file OMKNoMemoryAvailableException.h.
Referenced by getNeededSize().
Documentation generated on Mon Jun 9 11:46:01 2008 |
Generated with doxygen by Dimitri van Heesch , 1997-2007 |