Differences From Artifact [58c72c5dc6]:
- File src/exceptions/OFConditionWaitFailedException.h — part of check-in [b7142607c2] at 2011-03-25 15:48:50 on branch trunk — Pass the condition for condition exceptions. (user: js, size: 1542) [annotate] [blame] [check-ins using]
To Artifact [7f73464612]:
- File
src/exceptions/OFConditionWaitFailedException.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: 1547) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
31 32 33 34 35 36 37 | #endif /** * \param class_ The class of the object which caused the exception * \param condition The condition for which could not be waited * \return A new condition wait failed exception */ | | | | 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 | #endif /** * \param class_ The class of the object which caused the exception * \param condition The condition for which could not be waited * \return A new condition wait failed exception */ + exceptionWithClass: (Class)class_ condition: (OFCondition*)condition; /** * Initializes an already allocated condition wait failed exception. * * \param class_ The class of the object which caused the exception * \param condition The condition for which could not be waited * \return An initialized condition wait failed exception |
︙ | ︙ |