66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
|
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
|
-
-
+
+
-
|
{
OFAutoreleasePool *pool;
if (description != nil)
return description;
pool = [[OFAutoreleasePool alloc] init];
description = [[OFString alloc]
initWithFormat: @"An exception occurred in class %@!",
description = [[OFString alloc] initWithFormat:
@"An exception occurred in class %@!", [self className]];
[self className]];
[pool release];
return description;
}
@end
@implementation XMPPStringPrepFailedException
|
124
125
126
127
128
129
130
131
|
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
|
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
|
- (void)dealloc
{
[profile release];
[string release];
[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
|