20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
#import "OFString.h"
#import "common.h"
@implementation OFWriteFailedException
- (OFString*)description
{
if (description != nil)
return description;
description = [[OFString alloc] initWithFormat:
@"Failed to write %zu bytes in class %@! " ERRFMT, requestedLength,
inClass, ERRPARAM];
return description;
}
@end
|
|
|
|
|
|
|
|
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
#import "OFString.h"
#import "common.h"
@implementation OFWriteFailedException
- (OFString*)description
{
if (_description != nil)
return _description;
_description = [[OFString alloc] initWithFormat:
@"Failed to write %zu bytes in class %@! " ERRFMT, _requestedLength,
_inClass, ERRPARAM];
return _description;
}
@end
|