ObjFW
Public Member Functions | Static Public Member Functions | Properties
OFOutOfMemoryException Class Reference

An exception indicating there is not enough memory available. More...

#include <OFOutOfMemoryException.h>

Inheritance diagram for OFOutOfMemoryException:
OFException OFObject <OFObject>

List of all members.

Public Member Functions

id initWithClass:requestedSize: (Class class_,[requestedSize] size_t size)
size_t requestedSize ()

Static Public Member Functions

id newWithClass:requestedSize: (Class class_,[requestedSize] size_t size)

Properties

size_t requestedSize

Detailed Description

An exception indicating there is not enough memory available.


Member Function Documentation

id OFOutOfMemoryException::initWithClass:requestedSize: ( Class  class_,
[requestedSize] size_t  size 
) [virtual]

Initializes an already allocated no memory exception.

Parameters:
class_The class of the object which caused the exception
sizeThe size of the memory that couldn't be allocated
Returns:
An initialized no memory exception
id OFOutOfMemoryException::newWithClass:requestedSize: ( Class  class_,
[requestedSize] size_t  size 
) [static, virtual]
Parameters:
class_The class of the object which caused the exception
sizeThe size of the memory that couldn't be allocated
Returns:
A new no memory exception
size_t OFOutOfMemoryException::requestedSize ( ) [virtual]
Returns:
The size of the memoory that couldn't be allocated

The documentation for this class was generated from the following files:
 All Classes Functions Variables