︙ | | | ︙ | |
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
@interface XMPPException: OFException
{
XMPPConnection *connection;
}
#ifdef OF_HAVE_PROPERTIES
/// The connection the exception relates to
@property (readonly, nonatomic) XMPPConnection *connection;
#endif
/**
* Creates a new XMPPException
*
* \param class_ The class of the object which caused the exception
* \param connection The connection that received the data responsible
|
|
|
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
@interface XMPPException: OFException
{
XMPPConnection *connection;
}
#ifdef OF_HAVE_PROPERTIES
/// The connection the exception relates to
@property (readonly, assign) XMPPConnection *connection;
#endif
/**
* Creates a new XMPPException
*
* \param class_ The class of the object which caused the exception
* \param connection The connection that received the data responsible
|
︙ | | | ︙ | |
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
|
{
OFString *condition;
OFString *reason;
}
#ifdef OF_HAVE_PROPERTIES
/// The defined error condition specified by the stream error
@property (readonly, nonatomic) OFString *condition;
/// The descriptive free-form text specified by the stream error
@property (readonly, nonatomic) OFString *reason;
#endif
/**
* Creates a new XMPPStreamErrorException
*
* \param class_ The class of the object which caused the exception
* \param connection The connection that received the stream error
|
|
|
|
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
|
{
OFString *condition;
OFString *reason;
}
#ifdef OF_HAVE_PROPERTIES
/// The defined error condition specified by the stream error
@property (readonly, assign) OFString *condition;
/// The descriptive free-form text specified by the stream error
@property (readonly, assign) OFString *reason;
#endif
/**
* Creates a new XMPPStreamErrorException
*
* \param class_ The class of the object which caused the exception
* \param connection The connection that received the stream error
|
︙ | | | ︙ | |
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
|
{
OFString *profile;
OFString *string;
}
#ifdef OF_HAVE_PROPERTIES
/// The name of the stringprep profile that did not apply
@property (readonly, nonatomic) OFString *profile;
/// The string that failed the stringprep profile
@property (readonly, nonatomic) OFString *string;
#endif
/**
* Creates a new XMPPStringPrepFailedException
*
* \param class_ The class of the object which caused the exception
* \param connection The connection the string relates to
|
|
|
|
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
|
{
OFString *profile;
OFString *string;
}
#ifdef OF_HAVE_PROPERTIES
/// The name of the stringprep profile that did not apply
@property (readonly, assign) OFString *profile;
/// The string that failed the stringprep profile
@property (readonly, assign) OFString *string;
#endif
/**
* Creates a new XMPPStringPrepFailedException
*
* \param class_ The class of the object which caused the exception
* \param connection The connection the string relates to
|
︙ | | | ︙ | |
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
|
{
OFString *operation;
OFString *string;
}
#ifdef OF_HAVE_PROPERTIES
/// The IDNA translation operation which failed
@property (readonly, nonatomic) OFString *operation;
/// The string that could not be translated
@property (readonly, nonatomic) OFString *string;
#endif
/**
* Creates a new XMPPIDNATranslationFailedException
*
* \param class_ The class of the object which caused the exception
* \param connection The connection the string relates to
|
|
|
|
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
|
{
OFString *operation;
OFString *string;
}
#ifdef OF_HAVE_PROPERTIES
/// The IDNA translation operation which failed
@property (readonly, assign) OFString *operation;
/// The string that could not be translated
@property (readonly, assign) OFString *string;
#endif
/**
* Creates a new XMPPIDNATranslationFailedException
*
* \param class_ The class of the object which caused the exception
* \param connection The connection the string relates to
|
︙ | | | ︙ | |
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
|
@interface XMPPAuthFailedException: XMPPException
{
OFString *reason;
}
#ifdef OF_HAVE_PROPERTIES
/// The reason the authentication failed
@property (readonly, nonatomic) OFString *reason;
#endif
/**
* Creates a new XMPPAuthFailedException
*
* \param class_ The class of the object which caused the exception
* \param connection The connection that could not be authenticated
|
|
|
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
|
@interface XMPPAuthFailedException: XMPPException
{
OFString *reason;
}
#ifdef OF_HAVE_PROPERTIES
/// The reason the authentication failed
@property (readonly, assign) OFString *reason;
#endif
/**
* Creates a new XMPPAuthFailedException
*
* \param class_ The class of the object which caused the exception
* \param connection The connection that could not be authenticated
|
︙ | | | ︙ | |