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

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

#include <OFSeekFailedException.h>

Inheritance diagram for OFSeekFailedException:
OFException OFObject <OFObject>

List of all members.

Public Member Functions

id initWithClass:stream:offset:whence: (Class class_,[stream] OFSeekableStream *stream,[offset] off_t offset,[whence] int whence)
OFSeekableStreamstream ()
off_t offset ()
int whence ()
int errNo ()

Static Public Member Functions

id newWithClass:stream:offset:whence: (Class class_,[stream] OFSeekableStream *stream,[offset] off_t offset,[whence] int whence)

Properties

OFSeekableStreamstream
off_t offset
int whence
int errNo

Detailed Description

An exception indicating that seeking in a stream failed.


Member Function Documentation

int OFSeekFailedException::errNo ( ) [virtual]
Returns:
The errno from when the exception was created
id OFSeekFailedException::initWithClass:stream:offset:whence: ( Class  class_,
[stream] OFSeekableStream stream,
[offset] off_t  offset,
[whence] int  whence 
) [virtual]

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
id OFSeekFailedException::newWithClass:stream:offset:whence: ( Class  class_,
[stream] OFSeekableStream stream,
[offset] off_t  offset,
[whence] int  whence 
) [static, virtual]
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
off_t OFSeekFailedException::offset ( ) [virtual]
Returns:
The offset to which seeking failed
OFSeekableStream* OFSeekFailedException::stream ( ) [virtual]
Returns:
The stream for which seeking failed
int OFSeekFailedException::whence ( ) [virtual]
Returns:
To what the offset is relative

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