51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
|
@property (readonly, nonatomic) OFFileAttributes attributes;
/**
* @brief The first attribute that could not be set.
*/
@property (readonly, nonatomic) OFFileAttributeKey failedAttribute;
+ (instancetype)exception OF_UNAVAILABLE;
/**
* @brief Creates a new, autoreleased set item attributes failed exception.
*
* @param URL The URL of the item whose attributes could not be set
* @param attributes The attributes that should have been set for the specified
* item.
* @param failedAttribute The first attribute that could not be set
* @param errNo The errno of the error that occurred
* @return A new, autoreleased set item attributes failed exception
*/
+ (instancetype)exceptionWithURL: (OFURL *)URL
attributes: (OFFileAttributes)attributes
failedAttribute: (OFFileAttributeKey)failedAttribute
errNo: (int)errNo;
- (instancetype)init OF_UNAVAILABLE;
/**
* @brief Initializes an already allocated set item attributes failed exception.
*
* @param URL The URL of the item whose attributes could not be set
* @param attributes The attributes that should have been set for the specified
* item.
* @param failedAttribute The first attribute that could not be set
* @param errNo The errno of the error that occurred
* @return An initialized set item attributes failed exception
*/
- (instancetype)initWithURL: (OFURL *)URL
attributes: (OFFileAttributes)attributes
failedAttribute: (OFFileAttributeKey)failedAttribute
errNo: (int)errNo OF_DESIGNATED_INITIALIZER;
@end
OF_ASSUME_NONNULL_END
|
<
<
|
>
>
|
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
|
@property (readonly, nonatomic) OFFileAttributes attributes;
/**
* @brief The first attribute that could not be set.
*/
@property (readonly, nonatomic) OFFileAttributeKey failedAttribute;
/**
* @brief Creates a new, autoreleased set item attributes failed exception.
*
* @param URL The URL of the item whose attributes could not be set
* @param attributes The attributes that should have been set for the specified
* item.
* @param failedAttribute The first attribute that could not be set
* @param errNo The errno of the error that occurred
* @return A new, autoreleased set item attributes failed exception
*/
+ (instancetype)exceptionWithURL: (OFURL *)URL
attributes: (OFFileAttributes)attributes
failedAttribute: (OFFileAttributeKey)failedAttribute
errNo: (int)errNo;
+ (instancetype)exception OF_UNAVAILABLE;
/**
* @brief Initializes an already allocated set item attributes failed exception.
*
* @param URL The URL of the item whose attributes could not be set
* @param attributes The attributes that should have been set for the specified
* item.
* @param failedAttribute The first attribute that could not be set
* @param errNo The errno of the error that occurred
* @return An initialized set item attributes failed exception
*/
- (instancetype)initWithURL: (OFURL *)URL
attributes: (OFFileAttributes)attributes
failedAttribute: (OFFileAttributeKey)failedAttribute
errNo: (int)errNo OF_DESIGNATED_INITIALIZER;
- (instancetype)init OF_UNAVAILABLE;
@end
OF_ASSUME_NONNULL_END
|