21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
#import "OFTCPSocket.h"
#import "OFNotImplementedException.h"
#import "common.h"
@implementation OFBindFailedException
+ exceptionWithClass: (Class)class_
socket: (OFTCPSocket*)socket
host: (OFString*)host
port: (uint16_t)port
{
return [[[self alloc] initWithClass: class_
socket: socket
host: host
port: port] autorelease];
}
|
|
|
|
|
|
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
#import "OFTCPSocket.h"
#import "OFNotImplementedException.h"
#import "common.h"
@implementation OFBindFailedException
+ (instancetype)exceptionWithClass: (Class)class_
socket: (OFTCPSocket*)socket
host: (OFString*)host
port: (uint16_t)port
{
return [[[self alloc] initWithClass: class_
socket: socket
host: host
port: port] autorelease];
}
|