Adjust exceptions to ObjFW API change.
This commit is contained in:
parent
74a56b5359
commit
d736c927f1
2 changed files with 16 additions and 16 deletions
|
@ -35,7 +35,7 @@
|
|||
|
||||
#ifdef OF_HAVE_PROPERTIES
|
||||
/// \brief The connection the exception relates to
|
||||
@property (readonly, assign) XMPPConnection *connection;
|
||||
@property (readonly, retain) XMPPConnection *connection;
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
@ -69,9 +69,9 @@
|
|||
|
||||
#ifdef OF_HAVE_PROPERTIES
|
||||
/// \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
|
||||
@property (readonly, assign) OFString *reason;
|
||||
@property (readonly, copy) OFString *reason;
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
@ -113,9 +113,9 @@
|
|||
|
||||
#ifdef OF_HAVE_PROPERTIES
|
||||
/// \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
|
||||
@property (readonly, assign) OFString *string;
|
||||
@property (readonly, copy) OFString *string;
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
@ -156,9 +156,9 @@
|
|||
|
||||
#ifdef OF_HAVE_PROPERTIES
|
||||
/// \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
|
||||
@property (readonly, assign) OFString *string;
|
||||
@property (readonly, copy) OFString *string;
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
@ -199,7 +199,7 @@
|
|||
|
||||
#ifdef OF_HAVE_PROPERTIES
|
||||
/// \brief The reason the authentication failed
|
||||
@property (readonly, assign) OFString *reason;
|
||||
@property (readonly, copy) OFString *reason;
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
|
@ -70,7 +70,7 @@
|
|||
|
||||
- (XMPPConnection*)connection
|
||||
{
|
||||
OF_GETTER(_connection, false)
|
||||
OF_GETTER(_connection, true)
|
||||
}
|
||||
@end
|
||||
|
||||
|
@ -129,12 +129,12 @@
|
|||
|
||||
- (OFString*)condition
|
||||
{
|
||||
OF_GETTER(_condition, false)
|
||||
OF_GETTER(_condition, true)
|
||||
}
|
||||
|
||||
- (OFString*)reason
|
||||
{
|
||||
OF_GETTER(_reason, false)
|
||||
OF_GETTER(_reason, true)
|
||||
}
|
||||
@end
|
||||
|
||||
|
@ -194,12 +194,12 @@
|
|||
|
||||
- (OFString*)profile
|
||||
{
|
||||
OF_GETTER(_profile, false)
|
||||
OF_GETTER(_profile, true)
|
||||
}
|
||||
|
||||
- (OFString*)string
|
||||
{
|
||||
OF_GETTER(_string, false)
|
||||
OF_GETTER(_string, true)
|
||||
}
|
||||
@end
|
||||
|
||||
|
@ -258,12 +258,12 @@
|
|||
|
||||
- (OFString*)operation
|
||||
{
|
||||
OF_GETTER(_operation, false)
|
||||
OF_GETTER(_operation, true)
|
||||
}
|
||||
|
||||
- (OFString*)string
|
||||
{
|
||||
OF_GETTER(_string, false)
|
||||
OF_GETTER(_string, true)
|
||||
}
|
||||
@end
|
||||
|
||||
|
@ -317,6 +317,6 @@
|
|||
|
||||
- (OFString*)reason
|
||||
{
|
||||
OF_GETTER(_reason, false)
|
||||
OF_GETTER(_reason, true)
|
||||
}
|
||||
@end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue