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

An exception indicating that changing the owner of a file failed. More...

#import <OFChangeFileOwnerFailedException.h>

Inheritance diagram for OFChangeFileOwnerFailedException:
OFException OFObject <OFObject>

List of all members.

Public Member Functions

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

Static Public Member Functions

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

Detailed Description

An exception indicating that changing the owner of a file failed.


Member Function Documentation

- (int) errNo
Returns:
The errno from when the exception was created
+ (id) exceptionWithClass: (Class)  class_
path: (OFString*)  path
owner: (OFString*)  owner
group: (OFString*)  group 
Parameters:
class_The class of the object which caused the exception
pathThe path of the file
ownerThe new owner for the file
groupThe new group for the file
Returns:
An initialized change file owner failed exception
- (OFString*) group
Returns:
The new group for the file
- (id) initWithClass: (Class)  class_
path: (OFString*)  path
owner: (OFString*)  owner
group: (OFString*)  group 

Initializes an already allocated change file owner failed exception.

Parameters:
class_The class of the object which caused the exception
pathThe path of the file
ownerThe new owner for the file
groupThe new group for the file
Returns:
An initialized change file owner failed exception
- (OFString*) 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 Properties