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

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

#import <OFOutOfMemoryException.h>

Inheritance diagram for OFOutOfMemoryException:
OFException OFObject <OFObject>

List of all members.

Public Member Functions

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

Static Public Member Functions

(id) + exceptionWithClass:requestedSize:

Detailed Description

An exception indicating there is not enough memory available.


Member Function Documentation

+ (id) exceptionWithClass: (Class)  class_
requestedSize: (size_t)  size 
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
- (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
sizeThe size of the memory that couldn't be allocated
Returns:
An initialized 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 Properties