20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
#import "OFString.h"
#import "OFNotImplementedException.h"
#import "common.h"
@implementation OFUnboundNamespaceException
+ exceptionWithClass: (Class)class_
namespace: (OFString*)ns
{
return [[[self alloc] initWithClass: class_
namespace: ns] autorelease];
}
+ exceptionWithClass: (Class)class_
prefix: (OFString*)prefix
{
return [[[self alloc] initWithClass: class_
prefix: prefix] autorelease];
}
- initWithClass: (Class)class_
{
|
|
|
|
|
|
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
#import "OFString.h"
#import "OFNotImplementedException.h"
#import "common.h"
@implementation OFUnboundNamespaceException
+ (instancetype)exceptionWithClass: (Class)class_
namespace: (OFString*)ns
{
return [[[self alloc] initWithClass: class_
namespace: ns] autorelease];
}
+ (instancetype)exceptionWithClass: (Class)class_
prefix: (OFString*)prefix
{
return [[[self alloc] initWithClass: class_
prefix: prefix] autorelease];
}
- initWithClass: (Class)class_
{
|