Differences From Artifact [b762333688]:
- File src/XMPPExceptions.m — part of check-in [8dfcb87717] at 2013-02-12 21:36:39 on branch trunk — Prefix all ivars with an underscore. (user: js, size: 6951) [annotate] [blame] [check-ins using]
To Artifact [8fb736958d]:
- File
src/XMPPExceptions.m
— part of check-in
[178390a16f]
at
2013-02-13 23:18:20
on branch trunk
— Don't cache the description of exceptions.
This was pretty pointless, as it's usually only used once. (user: js, size: 6525) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
61 62 63 64 65 66 67 | - (void)dealloc { [_connection release]; [super dealloc]; } | < < < < < < < < < < < | 61 62 63 64 65 66 67 68 69 70 71 72 73 74 | - (void)dealloc { [_connection release]; [super dealloc]; } - (XMPPConnection*)connection { return _connection; } @end @implementation XMPPStreamErrorException |
︙ | ︙ | |||
128 129 130 131 132 133 134 | [reason release]; [super dealloc]; } - (OFString*)description { | < | | < | < < | 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 | [reason release]; [super dealloc]; } - (OFString*)description { return [OFString stringWithFormat: @"Got stream error in class %@: %@. Reason: %@!", [self inClass], condition, reason]; } - (OFString*)condition { return condition; } |
︙ | ︙ | |||
198 199 200 201 202 203 204 | [string release]; [super dealloc]; } - (OFString*)description { | < < | < | | < < | 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 | [string release]; [super dealloc]; } - (OFString*)description { return [OFString stringWithFormat: @"Stringprep with profile %@ failed in class %@ on string '%@'!", profile, [self inClass], string]; } - (OFString*)profile { return profile; } |
︙ | ︙ | |||
269 270 271 272 273 274 275 | [string release]; [super dealloc]; } - (OFString*)description { | < < | < | | < | 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 | [string release]; [super dealloc]; } - (OFString*)description { return [OFString stringWithFormat: @"IDNA operation %@ failed in class %@ on string '%@'!", operation, [self inClass], string]; } - (OFString*)operation { return operation; } |
︙ | ︙ | |||
334 335 336 337 338 339 340 | [reason release]; [super dealloc]; } - (OFString*)description { | < < | < | | < | 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 | [reason release]; [super dealloc]; } - (OFString*)description { return [OFString stringWithFormat: @"Authentication failed in class %@. Reason: %@!", [self inClass], reason]; } - (OFString*)reason { return reason; } @end |