@@ -38,13 +38,13 @@ * \param class_ The class of the object which caused the exception * \param socket The socket which could not translate the address * \param host The host for which translation was requested * \return A new address translation failed exception */ -+ exceptionWithClass: (Class)class_ - socket: (OFTCPSocket*)socket - host: (OFString*)host; ++ (instancetype)exceptionWithClass: (Class)class_ + socket: (OFTCPSocket*)socket + host: (OFString*)host; /** * Initializes an already allocated address translation failed exception. * * \param class_ The class of the object which caused the exception