Overview
Comment: | OFConditionStillWaitingException: init unavailable |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
64a63a32cbbc02cc826ae3b6c8fa83c4 |
User & Date: | js on 2022-04-20 13:07:43 |
Other Links: | manifest | tags |
Context
2022-04-20
| ||
13:09 | OFConnectionFailedException: Improve nullability check-in: c24f964805 user: js tags: trunk | |
13:07 | OFConditionStillWaitingException: init unavailable check-in: 64a63a32cb user: js tags: trunk | |
13:04 | OFConditionWaitFailedException: Make nonnull check-in: ba12b4fa9e user: js tags: trunk | |
Changes
Modified src/exceptions/OFConditionStillWaitingException.h from [855cea85d2] to [e3ad08ff3d].
︙ | ︙ | |||
44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 | /** * @brief Creates a new, autoreleased condition still waiting exception. * * @param condition The condition for which is still being waited * @return A new, autoreleased condition still waiting exception */ + (instancetype)exceptionWithCondition: (OFCondition *)condition; /** * @brief Initializes an already allocated condition still waiting exception. * * @param condition The condition for which is still being waited * @return An initialized condition still waiting exception */ - (instancetype)initWithCondition: (OFCondition *)condition OF_DESIGNATED_INITIALIZER; @end OF_ASSUME_NONNULL_END | > > | 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 | /** * @brief Creates a new, autoreleased condition still waiting exception. * * @param condition The condition for which is still being waited * @return A new, autoreleased condition still waiting exception */ + (instancetype)exceptionWithCondition: (OFCondition *)condition; - (instancetype)init OF_UNAVAILABLE; /** * @brief Initializes an already allocated condition still waiting exception. * * @param condition The condition for which is still being waited * @return An initialized condition still waiting exception */ - (instancetype)initWithCondition: (OFCondition *)condition OF_DESIGNATED_INITIALIZER; @end OF_ASSUME_NONNULL_END |
Modified src/exceptions/OFConditionStillWaitingException.m from [51f87ea44e] to [738d87a948].
︙ | ︙ | |||
25 26 27 28 29 30 31 | + (instancetype)exceptionWithCondition: (OFCondition *)condition { return [[[self alloc] initWithCondition: condition] autorelease]; } - (instancetype)init { | < > | 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | + (instancetype)exceptionWithCondition: (OFCondition *)condition { return [[[self alloc] initWithCondition: condition] autorelease]; } - (instancetype)init { OF_INVALID_INIT_METHOD } - (instancetype)initWithCondition: (OFCondition *)condition { self = [super init]; _condition = [condition retain]; |
︙ | ︙ |