Public Member Functions | Static Public Member Functions | Protected Attributes

OFOutOfMemoryException Class Reference

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

#import <OFExceptions.h>

Inheritance diagram for OFOutOfMemoryException:
OFException OFObject

List of all members.

Public Member Functions

(id) - initWithClass:requestedSize:
(size_t) - requestedSize

Static Public Member Functions

(id) + newWithClass:requestedSize:

Protected Attributes

size_t requestedSize

Detailed Description

An exception indicating there is not enough memory available.


Member Function Documentation

- (id) initWithClass: (Class)  class_
requestedSize: (size_t)  size 

Initializes an already allocated no memory exception.

Parameters:
class_ The class of the object which caused the exception
size The size of the memory that couldn't be allocated
Returns:
An initialized no memory exception
+ (id) newWithClass: (Class)  class_
requestedSize: (size_t)  size 
Parameters:
class_ The class of the object which caused the exception
size The size of the memory that couldn't be allocated
Returns:
A new no memory exception
- (size_t) requestedSize  
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