@@ -1519,16 +1519,14 @@ @implementation OFBindFailedException + newWithClass: (Class)class_ node: (OFString*)node service: (OFString*)service - family: (int)family { return [[self alloc] initWithClass: class_ node: node - service: service - family: family]; + service: service]; } - initWithClass: (Class)class_ { Class c = isa; @@ -1538,18 +1536,16 @@ } - initWithClass: (Class)class_ node: (OFString*)node_ service: (OFString*)service_ - family: (int)family_ { self = [super initWithClass: class_]; @try { node = [node_ copy]; service = [service_ copy]; - family = family_; errNo = GET_SOCK_ERRNO; } @catch (id e) { [self release]; @throw e; } @@ -1569,13 +1565,13 @@ { if (description != nil) return description; description = [[OFString alloc] initWithFormat: - @"Binding service %s on node %s using family %d failed in class " - @"%s! " ERRFMT, [service cString], [node cString], family, - class_getName(inClass), ERRPARAM]; + @"Binding service %s on node %s failed in class %s! " ERRFMT, + [service cString], [node cString], class_getName(inClass), + ERRPARAM]; return description; } - (int)errNo @@ -1590,15 +1586,10 @@ - (OFString*)service { return service; } - -- (int)family -{ - return family; -} @end @implementation OFListenFailedException + newWithClass: (Class)class_ backLog: (int)backlog