18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
#import "OFTruncatedDataException.h"
#import "OFString.h"
@implementation OFTruncatedDataException
- (OFString*)description
{
if (description != nil)
return description;
description = [[OFString alloc] initWithFormat:
@"Truncated data was received or produced in class %@ while it "
@"should not have been truncated!", inClass];
return description;
}
@end
|
|
|
|
|
|
|
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
#import "OFTruncatedDataException.h"
#import "OFString.h"
@implementation OFTruncatedDataException
- (OFString*)description
{
if (_description != nil)
return _description;
_description = [[OFString alloc] initWithFormat:
@"Truncated data was received or produced in class %@ while it "
@"should not have been truncated!", _inClass];
return _description;
}
@end
|