@@ -21,13 +21,13 @@ #import "OFTCPSocket.h" #import "common.h" @implementation OFAddressTranslationFailedException -+ exceptionWithClass: (Class)class_ - socket: (OFTCPSocket*)socket - host: (OFString*)host ++ (instancetype)exceptionWithClass: (Class)class_ + socket: (OFTCPSocket*)socket + host: (OFString*)host { return [[[self alloc] initWithClass: class_ socket: socket host: host] autorelease]; }