21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
#import "OFSeekableStream.h"
#import "OFNotImplementedException.h"
#import "common.h"
@implementation OFSeekFailedException
+ exceptionWithClass: (Class)class_
stream: (OFSeekableStream*)stream
offset: (off_t)offset
whence: (int)whence
{
return [[[self alloc] initWithClass: class_
stream: stream
offset: offset
whence: whence] autorelease];
}
|
|
|
|
|
|
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
#import "OFSeekableStream.h"
#import "OFNotImplementedException.h"
#import "common.h"
@implementation OFSeekFailedException
+ (instancetype)exceptionWithClass: (Class)class_
stream: (OFSeekableStream*)stream
offset: (off_t)offset
whence: (int)whence
{
return [[[self alloc] initWithClass: class_
stream: stream
offset: offset
whence: whence] autorelease];
}
|