@@ -33,12 +33,12 @@ /** * \param class_ The class of the object which caused the exception * \param socket The socket which is not connected * \return A new not connected exception */ -+ exceptionWithClass: (Class)class_ - socket: (OFStreamSocket*)socket; ++ (instancetype)exceptionWithClass: (Class)class_ + socket: (OFStreamSocket*)socket; /** * Initializes an already allocated not connected exception. * * \param class_ The class of the object which caused the exception