17 #import "OFException.h" 19 OF_ASSUME_NONNULL_BEGIN
37 @property (readonly, nonatomic)
void *
pointer;
42 @property (readonly, nonatomic)
id object;
53 + (instancetype)exceptionWithPointer: (
void *)pointer
56 -
init OF_UNAVAILABLE;
65 - initWithPointer: (
void *)pointer
66 object: (
id)object OF_DESIGNATED_INITIALIZER;
id init()
Initializes an already allocated object.
Definition: OFObject.m:488
An exception indicating the given memory is not part of the object.
Definition: OFMemoryNotPartOfObjectException.h:28
The base class for all exceptions in ObjFW.
Definition: OFException.h:143
instancetype exception()
Creates a new, autoreleased exception.
Definition: OFException.m:250
void * pointer
Definition: OFMemoryNotPartOfObjectException.h:37