ObjXMPP  Diff

Differences From Artifact [fa00861fee]:

To Artifact [f066866cc9]:


26
27
28
29
30
31
32

33

34
35
36
37
38
39
40
@class XMPPAuthenticator;

/**
 * \brief A base class for XMPP related exceptions
 */
@interface XMPPException: OFException
{

	XMPPConnection *connection;

}

#ifdef OF_HAVE_PROPERTIES
/// The connection the exception relates to
@property (readonly, assign) XMPPConnection *connection;
#endif








>

>







26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
@class XMPPAuthenticator;

/**
 * \brief A base class for XMPP related exceptions
 */
@interface XMPPException: OFException
{
/// \cond internal
	XMPPConnection *connection;
/// \end
}

#ifdef OF_HAVE_PROPERTIES
/// The connection the exception relates to
@property (readonly, assign) XMPPConnection *connection;
#endif

64
65
66
67
68
69
70

71
72

73
74
75
76
77
78
79
@end

/**
 * \brief An exception indicating a stream error was received
 */
@interface XMPPStreamErrorException: XMPPException
{

	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;







>


>







66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
@end

/**
 * \brief An exception indicating a stream error was received
 */
@interface XMPPStreamErrorException: XMPPException
{
/// \cond internal
	OFString *condition;
	OFString *reason;
/// \endcond
}

#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;
113
114
115
116
117
118
119

120
121

122
123
124
125
126
127
128

/**
 * \brief An exception indicating a stringprep profile
 *	  did not apply to a string
 */
@interface XMPPStringPrepFailedException: XMPPException
{

	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;







>


>







117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134

/**
 * \brief An exception indicating a stringprep profile
 *	  did not apply to a string
 */
@interface XMPPStringPrepFailedException: XMPPException
{
/// \cond internal
	OFString *profile;
	OFString *string;
/// \endcond
}

#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;
161
162
163
164
165
166
167

168
169

170
171
172
173
174
175
176
@end

/**
 * \brief An exception indicating IDNA translation of a string failed
 */
@interface XMPPIDNATranslationFailedException: XMPPException
{

	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;







>


>







167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
@end

/**
 * \brief An exception indicating IDNA translation of a string failed
 */
@interface XMPPIDNATranslationFailedException: XMPPException
{
/// \cond internal
	OFString *operation;
	OFString *string;
/// \endcond
}

#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;
209
210
211
212
213
214
215

216

217
218
219
220
221
222
223
@end

/**
 * \brief An exception indicating authentication failed
 */
@interface XMPPAuthFailedException: XMPPException
{

	OFString *reason;

}

#ifdef OF_HAVE_PROPERTIES
/// The reason the authentication failed
@property (readonly, assign) OFString *reason;
#endif








>

>







217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
@end

/**
 * \brief An exception indicating authentication failed
 */
@interface XMPPAuthFailedException: XMPPException
{
/// \cond internal
	OFString *reason;
/// \endcond
}

#ifdef OF_HAVE_PROPERTIES
/// The reason the authentication failed
@property (readonly, assign) OFString *reason;
#endif