︙ | | |
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
|
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
|
-
+
-
+
|
*
* @param connection The connection that received the data responsible
* for this exception
* @return A new XMPPException
*/
+ (instancetype)exceptionWithConnection: (nullable XMPPConnection *)connection;
- init OF_UNAVAILABLE;
- (instancetype)init OF_UNAVAILABLE;
/*!
* @brief Initializes an already allocated XMPPException.
*
* @param connection The connection that received the data responsible
* for this exception
* @return An initialized XMPPException
*/
- initWithConnection: (nullable XMPPConnection *)connection
- (instancetype)initWithConnection: (nullable XMPPConnection *)connection
OF_DESIGNATED_INITIALIZER;
@end
/*!
* @brief An exception indicating a stream error was received
*/
@interface XMPPStreamErrorException: XMPPException
|
︙ | | |
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
|
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
|
-
+
+
-
-
-
+
+
+
+
|
* @param reason The descriptive free-form text specified by the stream error
* @return A new XMPPStreamErrorException
*/
+ (instancetype)exceptionWithConnection: (nullable XMPPConnection *)connection
condition: (OFString *)condition
reason: (OFString *)reason;
- initWithConnection: (nullable XMPPConnection *)connection OF_UNAVAILABLE;
- (instancetype)initWithConnection: (nullable XMPPConnection *)connection
OF_UNAVAILABLE;
/*!
* @brief Initializes an already allocated XMPPStreamErrorException.
*
* @param connection The connection that received the stream error
* @param condition The defined error condition specified by the stream error
* @param reason The descriptive free-form text specified by the stream error
* @return An initialized XMPPStreamErrorException
*/
- initWithConnection: (nullable XMPPConnection *)connection
condition: (OFString *)condition
reason: (OFString *)reason OF_DESIGNATED_INITIALIZER;
- (instancetype)initWithConnection: (nullable XMPPConnection *)connection
condition: (OFString *)condition
reason: (OFString *)reason
OF_DESIGNATED_INITIALIZER;
@end
/*!
* @brief An exception indicating a stringprep profile
* did not apply to a string
*/
@interface XMPPStringPrepFailedException: XMPPException
|
︙ | | |
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
|
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
|
-
+
+
-
-
-
+
+
+
+
|
* @param string The string that failed the stringprep profile
* @return A new XMPPStringPrepFailedException
*/
+ (instancetype)exceptionWithConnection: (nullable XMPPConnection *)connection
profile: (OFString *)profile
string: (OFString *)string;
- initWithConnection: (nullable XMPPConnection *)connection OF_UNAVAILABLE;
- (instancetype)initWithConnection: (nullable XMPPConnection *)connection
OF_UNAVAILABLE;
/*!
* @brief Initializes an already allocated XMPPStringPrepFailedException.
*
* @param connection The connection the string relates to
* @param profile The name of the stringprep profile that did not apply
* @param string The string that failed the stringprep profile
* @return An initialized XMPPStringPrepFailedException
*/
- initWithConnection: (nullable XMPPConnection *)connection
profile: (OFString *)profile
string: (OFString *)string OF_DESIGNATED_INITIALIZER;
- (instancetype)initWithConnection: (nullable XMPPConnection *)connection
profile: (OFString *)profile
string: (OFString *)string
OF_DESIGNATED_INITIALIZER;
@end
/*!
* @brief An exception indicating IDNA translation of a string failed
*/
@interface XMPPIDNATranslationFailedException: XMPPException
{
|
︙ | | |
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
|
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
|
-
+
+
-
-
-
+
+
+
|
* @param string The string that could not be translated
* @return A new XMPPIDNATranslationFailedException
*/
+ (instancetype)exceptionWithConnection: (nullable XMPPConnection *)connection
operation: (OFString *)operation
string: (OFString *)string;
- initWithConnection: (nullable XMPPConnection *)connection OF_UNAVAILABLE;
- (instancetype)initWithConnection: (nullable XMPPConnection *)connection
OF_UNAVAILABLE;
/*!
* @brief Initializes an already allocated XMPPIDNATranslationFailedException.
*
* @param connection The connection the string relates to
* @param operation The name of the stringprep profile that did not apply
* @param string The string that could not be translated
* @return An initialized XMPPIDNATranslationFailedException
*/
- initWithConnection: (nullable XMPPConnection *)connection
operation: (OFString *)operation
string: (OFString *)string;
- (instancetype)initWithConnection: (nullable XMPPConnection *)connection
operation: (OFString *)operation
string: (OFString *)string;
@end
/*!
* @brief An exception indicating authentication failed
*/
@interface XMPPAuthFailedException: XMPPException
{
|
︙ | | |
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
|
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
|
-
+
+
-
-
+
+
+
|
* @param connection The connection that could not be authenticated
* @param reason The reason the authentication failed
* @return A new XMPPAuthFailedException
*/
+ (instancetype)exceptionWithConnection: (nullable XMPPConnection *)connection
reason: (OFString *)reason;
- initWithConnection: (nullable XMPPConnection *)connection OF_UNAVAILABLE;
- (instancetype)initWithConnection: (nullable XMPPConnection *)connection
OF_UNAVAILABLE;
/*!
* @brief Initializes an already allocated XMPPAuthFailedException.
*
* @param connection The connection that could not be authenticated
* @param reason The reason the authentication failed
* @return An initialized XMPPAuthFailedException
*/
- initWithConnection: (nullable XMPPConnection *)connection
reason: (OFString *)reason OF_DESIGNATED_INITIALIZER;
- (instancetype)initWithConnection: (nullable XMPPConnection *)connection
reason: (OFString *)reason
OF_DESIGNATED_INITIALIZER;
@end
OF_ASSUME_NONNULL_END
|