Adjust exceptions to ObjFW API change.

This commit is contained in:
Jonathan Schleifer 2013-11-22 21:21:56 +01:00
parent 74a56b5359
commit d736c927f1
2 changed files with 16 additions and 16 deletions

View file

@ -35,7 +35,7 @@
#ifdef OF_HAVE_PROPERTIES #ifdef OF_HAVE_PROPERTIES
/// \brief The connection the exception relates to /// \brief The connection the exception relates to
@property (readonly, assign) XMPPConnection *connection; @property (readonly, retain) XMPPConnection *connection;
#endif #endif
/** /**
@ -69,9 +69,9 @@
#ifdef OF_HAVE_PROPERTIES #ifdef OF_HAVE_PROPERTIES
/// \brief The defined error condition specified by the stream error /// \brief The defined error condition specified by the stream error
@property (readonly, assign) OFString *condition; @property (readonly, copy) OFString *condition;
/// \brief The descriptive free-form text specified by the stream error /// \brief The descriptive free-form text specified by the stream error
@property (readonly, assign) OFString *reason; @property (readonly, copy) OFString *reason;
#endif #endif
/** /**
@ -113,9 +113,9 @@
#ifdef OF_HAVE_PROPERTIES #ifdef OF_HAVE_PROPERTIES
/// \brief The name of the stringprep profile that did not apply /// \brief The name of the stringprep profile that did not apply
@property (readonly, assign) OFString *profile; @property (readonly, copy) OFString *profile;
/// \brief The string that failed the stringprep profile /// \brief The string that failed the stringprep profile
@property (readonly, assign) OFString *string; @property (readonly, copy) OFString *string;
#endif #endif
/** /**
@ -156,9 +156,9 @@
#ifdef OF_HAVE_PROPERTIES #ifdef OF_HAVE_PROPERTIES
/// \brief The IDNA translation operation which failed /// \brief The IDNA translation operation which failed
@property (readonly, assign) OFString *operation; @property (readonly, copy) OFString *operation;
/// \brief The string that could not be translated /// \brief The string that could not be translated
@property (readonly, assign) OFString *string; @property (readonly, copy) OFString *string;
#endif #endif
/** /**
@ -199,7 +199,7 @@
#ifdef OF_HAVE_PROPERTIES #ifdef OF_HAVE_PROPERTIES
/// \brief The reason the authentication failed /// \brief The reason the authentication failed
@property (readonly, assign) OFString *reason; @property (readonly, copy) OFString *reason;
#endif #endif
/** /**

View file

@ -70,7 +70,7 @@
- (XMPPConnection*)connection - (XMPPConnection*)connection
{ {
OF_GETTER(_connection, false) OF_GETTER(_connection, true)
} }
@end @end
@ -129,12 +129,12 @@
- (OFString*)condition - (OFString*)condition
{ {
OF_GETTER(_condition, false) OF_GETTER(_condition, true)
} }
- (OFString*)reason - (OFString*)reason
{ {
OF_GETTER(_reason, false) OF_GETTER(_reason, true)
} }
@end @end
@ -194,12 +194,12 @@
- (OFString*)profile - (OFString*)profile
{ {
OF_GETTER(_profile, false) OF_GETTER(_profile, true)
} }
- (OFString*)string - (OFString*)string
{ {
OF_GETTER(_string, false) OF_GETTER(_string, true)
} }
@end @end
@ -258,12 +258,12 @@
- (OFString*)operation - (OFString*)operation
{ {
OF_GETTER(_operation, false) OF_GETTER(_operation, true)
} }
- (OFString*)string - (OFString*)string
{ {
OF_GETTER(_string, false) OF_GETTER(_string, true)
} }
@end @end
@ -317,6 +317,6 @@
- (OFString*)reason - (OFString*)reason
{ {
OF_GETTER(_reason, false) OF_GETTER(_reason, true)
} }
@end @end