ObjFW
Public Member Functions | Static Public Member Functions
OFSeekFailedException Class Reference

An exception indicating that seeking in a stream failed. More...

#import <OFSeekFailedException.h>

Inheritance diagram for OFSeekFailedException:
OFException OFObject <OFObject>

List of all members.

Public Member Functions

(id) - initWithClass:stream:offset:whence:
(OFSeekableStream *) - stream
(off_t) - offset
(int) - whence
(int) - errNo

Static Public Member Functions

(id) + exceptionWithClass:stream:offset:whence:

Detailed Description

An exception indicating that seeking in a stream failed.


Member Function Documentation

- (int) errNo
Returns:
The errno from when the exception was created
+ (id) exceptionWithClass: (Class)  class_
stream: (OFSeekableStream*)  stream
offset: (off_t)  offset
whence: (int)  whence 
Parameters:
streamThe stream for which seeking failed
offsetThe offset to which seeking failed
whenceTo what the offset is relative
Returns:
A new seek failed exception
- (id) initWithClass: (Class)  class_
stream: (OFSeekableStream*)  stream
offset: (off_t)  offset
whence: (int)  whence 

Initializes an already allocated seek failed exception.

Parameters:
streamThe stream for which seeking failed
offsetThe offset to which seeking failed
whenceTo what the offset is relative
Returns:
An initialized seek failed exception
- (off_t) offset
Returns:
The offset to which seeking failed
- (OFSeekableStream*) stream
Returns:
The stream for which seeking failed
- (int) whence
Returns:
To what the offset is relative

The documentation for this class was generated from the following files:
 All Classes Functions Variables Properties