16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
#include "config.h"
#import "OFOutOfMemoryException.h"
#import "OFString.h"
@implementation OFOutOfMemoryException
+ exceptionWithClass: (Class)class_
requestedSize: (size_t)size
{
return [[[self alloc] initWithClass: class_
requestedSize: size] autorelease];
}
- initWithClass: (Class)class_
requestedSize: (size_t)size
|
|
|
|
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
#include "config.h"
#import "OFOutOfMemoryException.h"
#import "OFString.h"
@implementation OFOutOfMemoryException
+ (instancetype)exceptionWithClass: (Class)class_
requestedSize: (size_t)size
{
return [[[self alloc] initWithClass: class_
requestedSize: size] autorelease];
}
- initWithClass: (Class)class_
requestedSize: (size_t)size
|