16 #import "OFException.h"
18 OF_ASSUME_NONNULL_BEGIN
29 void *_Nullable _pointer;
36 @property OF_NULLABLE_PROPERTY (readonly, nonatomic)
void *
pointer;
41 @property (readonly, nonatomic)
id object;
43 + (instancetype)exception OF_UNAVAILABLE;
52 + (instancetype)exceptionWithPointer: (nullable
void *)pointer
55 - (instancetype)init OF_UNAVAILABLE;
64 - (instancetype)initWithPointer: (nullable
void *)pointer
65 object: (
id)object OF_DESIGNATED_INITIALIZER;
The base class for all exceptions in ObjFW.
Definition: OFException.h:147
An exception indicating the given memory is not part of the object.
Definition: OFMemoryNotPartOfObjectException.h:28
void * pointer
A pointer to the memory which is not part of the object.
Definition: OFMemoryNotPartOfObjectException.h:36