Differences From Artifact [957dabccca]:
- File src/exceptions/OFNotImplementedException.h — part of check-in [e1eea29286] at 2011-03-24 16:09:40 on branch trunk — Split OFExceptions.{h,m} into one file per exception. (user: js, size: 1482) [annotate] [blame] [check-ins using]
To Artifact [1238a82c27]:
- File
src/exceptions/OFNotImplementedException.h
— part of check-in
[e1e7ffa903]
at
2011-09-22 23:25:42
on branch trunk
— Exceptions are now autoreleased.
This is safe as an "exception loop" can't happen, since if allocating
an exception fails, it throws an OFAllocFailedException which is
preallocated and can always be thrown.So, the worst case would be that an autorelease of an exception fails,
triggering an OFOutOfMemoryException for which there is no memory,
resulting in an OFAllocFailedException to be thrown. (user: js, size: 1487) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
30 31 32 33 34 35 36 | #endif /** * \param class_ The class of the object which caused the exception * \param selector The selector which is not or not fully implemented * \return A new not implemented exception */ | | | | 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 | #endif /** * \param class_ The class of the object which caused the exception * \param selector The selector which is not or not fully implemented * \return A new not implemented exception */ + exceptionWithClass: (Class)class_ selector: (SEL)selector; /** * Initializes an already allocated not implemented exception. * * \param class_ The class of the object which caused the exception * \param selector The selector which is not or not fully implemented * \return An initialized not implemented exception |
︙ | ︙ |