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

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

#import <OFChangeFileModeFailedException.h>

Inheritance diagram for OFChangeFileModeFailedException:
OFException OFObject <OFObject>

List of all members.

Public Member Functions

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

Static Public Member Functions

(id) + exceptionWithClass:path:mode:

Detailed Description

An exception indicating that changing the mode 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
mode: (mode_t)  mode 
Parameters:
class_The class of the object which caused the exception
pathThe path of the file
modeThe new mode for the file
Returns:
An initialized change file mode failed exception
- (id) initWithClass: (Class)  class_
path: (OFString*)  path
mode: (mode_t)  mode 

Initializes an already allocated change file mode failed exception.

Parameters:
class_The class of the object which caused the exception
pathThe path of the file
modeThe new mode for the file
Returns:
An initialized change file mode failed exception
- (mode_t) mode
Returns:
The new mode 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