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

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

#include <OFChangeFileOwnerFailedException.h>

Inheritance diagram for OFChangeFileOwnerFailedException:
OFException OFObject <OFObject>

List of all members.

Public Member Functions

id initWithClass:path:owner:group: (Class class_,[path] OFString *path,[owner] OFString *owner,[group] OFString *group)
int errNo ()
OFStringpath ()
OFStringowner ()
OFStringgroup ()

Static Public Member Functions

id newWithClass:path:owner:group: (Class class_,[path] OFString *path,[owner] OFString *owner,[group] OFString *group)

Properties

OFStringpath
OFStringowner
OFStringgroup
int errNo

Detailed Description

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


Member Function Documentation

int OFChangeFileOwnerFailedException::errNo ( ) [virtual]
Returns:
The errno from when the exception was created
OFString* OFChangeFileOwnerFailedException::group ( ) [virtual]
Returns:
The new group for the file
id OFChangeFileOwnerFailedException::initWithClass:path:owner:group: ( Class  class_,
[path] OFString path,
[owner] OFString owner,
[group] OFString group 
) [virtual]

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
id OFChangeFileOwnerFailedException::newWithClass:path:owner:group: ( Class  class_,
[path] OFString path,
[owner] OFString owner,
[group] OFString group 
) [static, virtual]
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* OFChangeFileOwnerFailedException::owner ( ) [virtual]
Returns:
The new owner for the file
OFString* OFChangeFileOwnerFailedException::path ( ) [virtual]
Returns:
The path of the file

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