159
160
161
162
163
164
165
166
167
168
169
170
171
172
|
{
if (string != NULL)
return string;
asprintf(&string, "The encoding is invalid for object of classs %s!",
[object name]);
return string;
}
@end
@implementation OFInitializationFailedException
+ newWithClass: (Class)class_
{
|
>
>
>
>
>
>
>
>
>
>
>
>
>
|
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
|
{
if (string != NULL)
return string;
asprintf(&string, "The encoding is invalid for object of classs %s!",
[object name]);
return string;
}
@end
@implementation OFInvalidFormatException
- (const char*)cString
{
if (string != NULL)
return string;
asprintf(&string, "The format is invalid for object of classs %s!",
[object name]);
return string;
}
@end
@implementation OFInitializationFailedException
+ newWithClass: (Class)class_
{
|