@@ -31,13 +31,14 @@ { OFString *_host; int _error; } -#ifdef OF_HAVE_PROPERTIES +/*! + * The host for which the address translation was requested. + */ @property (readonly, copy) OFString *host; -#endif /*! * @brief Creates a new, autoreleased address translation failed exception. * * @param host The host for which translation was requested @@ -55,16 +56,9 @@ * @param host The host for which translation was requested * @return An initialized address translation failed exception */ - initWithHost: (OFString*)host; -- initWithHost: (OFString*)host - error: (int)error; -- initWithError: (int)error; - -/*! - * @brief Returns the host for which the address translation was requested. - * - * @return The host for which the address translation was requested - */ -- (OFString*)host; +- (instancetype)initWithHost: (OFString*)host + error: (int)error; +- (instancetype)initWithError: (int)error; @end