43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
@property (readonly) size_t requestedLength;
/*!
* The errno of the error that occurred.
*/
@property (readonly) int errNo;
/*!
* @brief Creates a new, autoreleased read or write failed exception.
*
* @param object The object from which reading or to which writing failed
* @param requestedLength The requested length of the data that could not be
* read / written
* @return A new, autoreleased read or write failed exception
|
>
>
|
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
@property (readonly) size_t requestedLength;
/*!
* The errno of the error that occurred.
*/
@property (readonly) int errNo;
+ (instancetype)exception OF_UNAVAILABLE;
/*!
* @brief Creates a new, autoreleased read or write failed exception.
*
* @param object The object from which reading or to which writing failed
* @param requestedLength The requested length of the data that could not be
* read / written
* @return A new, autoreleased read or write failed exception
|
66
67
68
69
70
71
72
73
74
75
76
77
78
79
|
* read / written
* @param errNo The errno of the error that occurred
* @return A new, autoreleased read or write failed exception
*/
+ (instancetype)exceptionWithObject: (id)object
requestedLength: (size_t)requestedLength
errNo: (int)errNo;
/*!
* @brief Initializes an already allocated read or write failed exception.
*
* @param object The object from which reading or to which writing failed
* @param requestedLength The requested length of the data that could not be
* read / written
|
>
>
|
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
|
* read / written
* @param errNo The errno of the error that occurred
* @return A new, autoreleased read or write failed exception
*/
+ (instancetype)exceptionWithObject: (id)object
requestedLength: (size_t)requestedLength
errNo: (int)errNo;
- init OF_UNAVAILABLE;
/*!
* @brief Initializes an already allocated read or write failed exception.
*
* @param object The object from which reading or to which writing failed
* @param requestedLength The requested length of the data that could not be
* read / written
|