Overview
Comment: | Clean up exceptions.
The description generated by %@ is automatically released, so no need |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
5df36353c63c1eb34435e458f2b86a31 |
User & Date: | js on 2011-02-26 14:13:40 |
Other Links: | manifest | tags |
Context
2011-03-09
| ||
03:32 | Add basic STARTTLS support check-in: 3a3855f187 user: florob@babelmonkeys.de tags: trunk | |
2011-02-26
| ||
14:13 | Clean up exceptions. check-in: 5df36353c6 user: js tags: trunk | |
2011-02-25
| ||
22:52 | A little cleanup work. Still needs a configure script. check-in: c8b860a877 user: js tags: trunk | |
Changes
Modified src/XMPPExceptions.m from [60f59f8f6f] to [e5e54a18a7].
︙ | ︙ | |||
60 61 62 63 64 65 66 | [connection release]; [super dealloc]; } - (OFString*)description { | < < < | < | 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 | [connection release]; [super dealloc]; } - (OFString*)description { if (description != nil) return description; description = [[OFString alloc] initWithFormat: @"An exception occurred in class %@!", inClass]; return description; } @end @implementation XMPPStringPrepFailedException @synthesize profile, string; |
︙ | ︙ | |||
126 127 128 129 130 131 132 | [string release]; [super dealloc]; } - (OFString*)description { | < < < < | 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 | [string release]; [super dealloc]; } - (OFString*)description { if (description != nil) return description; description = [[OFString alloc] initWithFormat: @"Stringprep with profile %@ failed on string '%@'!", profile, string]; return description; } @end @implementation XMPPIDNATranslationFailedException @synthesize operation, string; |
︙ | ︙ | |||
193 194 195 196 197 198 199 | [string release]; [super dealloc]; } - (OFString*)description { | < < < | < < | 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 | [string release]; [super dealloc]; } - (OFString*)description { if (description != nil) return description; description = [[OFString alloc] initWithFormat: @"IDNA operation %@ failed on string '%@'!", operation, string]; return description; } @end @implementation XMPPAuthFailedException @synthesize reason; |
︙ | ︙ | |||
255 256 257 258 259 260 261 | [reason release]; [super dealloc]; } - (OFString*)description { | < < < < | 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 | [reason release]; [super dealloc]; } - (OFString*)description { if (description != nil) return description; description = [[OFString alloc] initWithFormat: @"Authentication failed. Reason: %@!", reason]; return description; } @end |