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