Add missing -[description] to XMPPStringPrepFailedException.
This commit is contained in:
parent
d517b1d0e8
commit
73d317c41e
1 changed files with 18 additions and 3 deletions
|
@ -70,9 +70,8 @@
|
||||||
return description;
|
return description;
|
||||||
|
|
||||||
pool = [[OFAutoreleasePool alloc] init];
|
pool = [[OFAutoreleasePool alloc] init];
|
||||||
description = [[OFString alloc]
|
description = [[OFString alloc] initWithFormat:
|
||||||
initWithFormat: @"An exception occurred in class %@!",
|
@"An exception occurred in class %@!", [self className]];
|
||||||
[self className]];
|
|
||||||
[pool release];
|
[pool release];
|
||||||
|
|
||||||
return description;
|
return description;
|
||||||
|
@ -128,4 +127,20 @@
|
||||||
|
|
||||||
[super dealloc];
|
[super dealloc];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
- (OFString*)description
|
||||||
|
{
|
||||||
|
OFAutoreleasePool *pool;
|
||||||
|
|
||||||
|
if (description != nil)
|
||||||
|
return description;
|
||||||
|
|
||||||
|
pool = [[OFAutoreleasePool alloc] init];
|
||||||
|
description = [[OFString alloc] initWithFormat:
|
||||||
|
@"Stringprep with profile %@ failed on string '%@'!",
|
||||||
|
profile, string];
|
||||||
|
[pool release];
|
||||||
|
|
||||||
|
return description;
|
||||||
|
}
|
||||||
@end
|
@end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue