Differences From Artifact [bc3b738b3c]:
- File
src/exceptions/OFUnsupportedVersionException.h
— part of check-in
[4af49a13c3]
at
2017-05-07 20:10:13
on branch trunk
— Small code style change
Casts are now written like types in variable declarations. (user: js, size: 1559) [annotate] [blame] [check-ins using]
To Artifact [13a70ec096]:
- File src/exceptions/OFUnsupportedVersionException.h — part of check-in [16c05e87e1] at 2017-05-07 23:14:22 on branch trunk — Add OF_UNAVAILABLE (user: js, size: 1626) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 | } /*! * The version which is unsupported. */ @property (readonly, nonatomic) OFString *version; /*! * @brief Creates a new, autoreleased unsupported version exception. * * @param version The version which is unsupported * @return A new, autoreleased unsupported version exception */ + (instancetype)exceptionWithVersion: (OFString *)version; /*! * @brief Initializes an already allocated unsupported protocol exception. * * @param version The version which is unsupported * @return An initialized unsupported version exception */ - initWithVersion: (OFString *)version; @end OF_ASSUME_NONNULL_END | > > > > | 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 | } /*! * The version which is unsupported. */ @property (readonly, nonatomic) OFString *version; + (instancetype)exception OF_UNAVAILABLE; /*! * @brief Creates a new, autoreleased unsupported version exception. * * @param version The version which is unsupported * @return A new, autoreleased unsupported version exception */ + (instancetype)exceptionWithVersion: (OFString *)version; - init OF_UNAVAILABLE; /*! * @brief Initializes an already allocated unsupported protocol exception. * * @param version The version which is unsupported * @return An initialized unsupported version exception */ - initWithVersion: (OFString *)version; @end OF_ASSUME_NONNULL_END |