OFOpenFileFailedException Class Reference

#import <OFExceptions.h>

Inheritance diagram for OFOpenFileFailedException:
OFException OFObject

List of all members.

Public Member Functions

(id) - initWithClass:path:mode:
(int) - errNo
(OFString *) - path
(OFString *) - mode

Static Public Member Functions

(id) + newWithClass:path:mode:

Protected Attributes

OFStringpath
OFStringmode
int err

Detailed Description

An OFException indicating the file couldn't be opened.


Member Function Documentation

- (int) errNo  
Returns:
The errno from when the exception was created
- (id) initWithClass: (Class)  class_
path: (OFString*)  path
mode: (OFString*)  mode 

Initializes an already allocated open file failed exception.

Parameters:
class_ The class of the object which caused the exception
path A string of the path to the file which couldn't be opened
mode A string of the mode in which the file should have been opened
Returns:
An initialized open file failed exception
- (OFString*) mode  
Returns:
A string of the mode in which the file should have been opened
+ (id) newWithClass: (Class)  class_
path: (OFString*)  path
mode: (OFString*)  mode 
Parameters:
class_ The class of the object which caused the exception
path A string of the path to the file tried to open
mode A string of the mode in which the file should have been opened
Returns:
A new open file failed exception
- (OFString*) path  
Returns:
A string of the path to the file which couldn't be opened

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

Generated on Mon Feb 1 19:19:40 2010 for ObjFW by  doxygen 1.6.1