OFAllocFailedException Class Reference

#import <OFExceptions.h>

List of all members.

Public Member Functions

(OFString *) - string

Static Public Member Functions

(Class) + class

Protected Attributes

Class isa

Detailed Description

An exception indicating an object could not be allocated.

This exception is preallocated, as if there's no memory, no exception can be allocated of course. That's why you shouldn't and even can't deallocate it.

This is the only exception that is not an OFException as it's special. It does not know for which class allocation failed and it should not be handled like other exceptions, as the exception handling code is not allowed to allocate ANY memory.


Member Function Documentation

- (OFString *) string  
Returns:
An error message for the exception as a string

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

Generated on Thu Dec 24 11:10:00 2009 for ObjFW by  doxygen 1.6.1