137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
|
asprintf(&string, "Value out of range in object of class %s!",
object != nil ? [object name] : "(null)");
return string;
}
@end
@implementation OFCharsetConversionFailedException
- (const char*)cString
{
if (string != NULL)
return string;
asprintf(&string, "Charset conversion failed in object of classs %s!",
[object name]);
return string;
}
@end
@implementation OFOpenFileFailedException
|
|
|
|
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
|
asprintf(&string, "Value out of range in object of class %s!",
object != nil ? [object name] : "(null)");
return string;
}
@end
@implementation OFInvalidEncodingException
- (const char*)cString
{
if (string != NULL)
return string;
asprintf(&string, "The encoding is invalid for object of classs %s!",
[object name]);
return string;
}
@end
@implementation OFOpenFileFailedException
|