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