@@ -31,12 +31,12 @@ /** * \param class_ The class of the object which caused the exception * \param ptr A pointer to the memory that is not part of the object * \return A new memory not part of object exception */ -+ exceptionWithClass: (Class)class_ - pointer: (void*)ptr; ++ (instancetype)exceptionWithClass: (Class)class_ + pointer: (void*)ptr; /** * Initializes an already allocated memory not part of object exception. * * \param class_ The class of the object which caused the exception