Differences From Artifact [447f9c2dc0]:
- File
src/exceptions/OFLinkFailedException.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: 2712) [annotate] [blame] [check-ins using]
To Artifact [46e9998ad9]:
- File src/exceptions/OFLinkFailedException.h — part of check-in [16c05e87e1] at 2017-05-07 23:14:22 on branch trunk — Add OF_UNAVAILABLE (user: js, size: 2779) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
41 42 43 44 45 46 47 48 49 50 51 52 53 54 | @property (readonly, nonatomic) OFString *destinationPath; /*! * The errno of the error that occurred. */ @property (readonly) int errNo; /*! * @brief Creates a new, autoreleased link failed exception. * * @param sourcePath The source for the link * @param destinationPath The destination for the link * @return A new, autoreleased link failed exception */ | > > | 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 | @property (readonly, nonatomic) OFString *destinationPath; /*! * The errno of the error that occurred. */ @property (readonly) int errNo; + (instancetype)exception OF_UNAVAILABLE; /*! * @brief Creates a new, autoreleased link failed exception. * * @param sourcePath The source for the link * @param destinationPath The destination for the link * @return A new, autoreleased link failed exception */ |
︙ | ︙ | |||
62 63 64 65 66 67 68 69 70 71 72 73 74 75 | * @param destinationPath The destination for the link * @param errNo The errno of the error that occurred * @return A new, autoreleased link failed exception */ + (instancetype)exceptionWithSourcePath: (OFString *)sourcePath destinationPath: (OFString *)destinationPath errNo: (int)errNo; /*! * @brief Initializes an already allocated link failed exception. * * @param sourcePath The source for the link * @param destinationPath The destination for the link * @return An initialized link failed exception | > > | 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 | * @param destinationPath The destination for the link * @param errNo The errno of the error that occurred * @return A new, autoreleased link failed exception */ + (instancetype)exceptionWithSourcePath: (OFString *)sourcePath destinationPath: (OFString *)destinationPath errNo: (int)errNo; - init OF_UNAVAILABLE; /*! * @brief Initializes an already allocated link failed exception. * * @param sourcePath The source for the link * @param destinationPath The destination for the link * @return An initialized link failed exception |
︙ | ︙ |