OFChangeFileOwnerFailedException Class Reference

#import <OFExceptions.h>

Inheritance diagram for OFChangeFileOwnerFailedException:
OFException OFObject

List of all members.

Public Member Functions

(id) - initWithClass:path:owner:group:
(int) - errNo
(OFString *) - path
(uid_t) - owner
(gid_t) - group

Static Public Member Functions

(id) + newWithClass:path:owner:group:

Protected Attributes

OFStringpath
uid_t owner
gid_t group
int err

Detailed Description

An OFException indicating that changing the owner of the file failed.


Member Function Documentation

- (int) errNo  
Returns:
The errno from when the exception was created
- (gid_t) group  
Returns:
The new group for the file
- (id) initWithClass: (Class)  class_
path: (OFString*)  path
owner: (uid_t)  owner
group: (gid_t)  group 

Initializes an already allocated change file owner failed exception.

Parameters:
class_ The class of the object which caused the exception
path The path of the file
owner The new owner for the file
group The new group for the file
Returns:
An initialized change file owner failed exception
+ (id) newWithClass: (Class)  class_
path: (OFString*)  path
owner: (uid_t)  owner
group: (gid_t)  group 
Parameters:
class_ The class of the object which caused the exception
path The path of the file
owner The new owner for the file
group The new group for the file
Returns:
An initialized change file owner failed exception
- (uid_t) owner  
Returns:
The new owner for the file
- (OFString*) path  
Returns:
The path of the file

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