ObjFW
Public Member Functions
OFAllocFailedException Class Reference

An exception indicating an object could not be allocated. More...

#import <OFAllocFailedException.h>

Inheritance diagram for OFAllocFailedException:
OFObject <OFObject>

List of all members.

Public Member Functions

(OFString *) - description

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 *) description
Returns:
A description of the exception

Reimplemented from OFObject.


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