BALL::Exception::OutOfMemory Class Reference

#include <BALL/COMMON/exception.h>

Inheritance diagram for BALL::Exception::OutOfMemory:
BALL::Exception::GeneralException

List of all members.


Public Member Functions

 OutOfMemory (const char *file, int line, Size size=0)
virtual ~OutOfMemory () throw ()

Protected Attributes

Size size_

Detailed Description

Out of memory. Throw this exception to indicate that an allocation failed. This exception is thrown in the BALL new handler.

Parameters:
size the number of bytes that should have been allocated
See also:
GlobalException::newHandler

Constructor & Destructor Documentation

BALL::Exception::OutOfMemory::OutOfMemory ( const char *  file,
int  line,
Size  size = 0 
)
virtual BALL::Exception::OutOfMemory::~OutOfMemory (  )  throw () [virtual]

Member Data Documentation