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

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

#include <OFChangeFileModeFailedException.h>

Inheritance diagram for OFChangeFileModeFailedException:
OFException OFObject <OFObject>

List of all members.

Public Member Functions

id initWithClass:path:mode: (Class class_,[path] OFString *path,[mode] mode_t mode)
int errNo ()
OFStringpath ()
mode_t mode ()

Static Public Member Functions

id newWithClass:path:mode: (Class class_,[path] OFString *path,[mode] mode_t mode)

Properties

OFStringpath
mode_t mode
int errNo

Detailed Description

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


Member Function Documentation

int OFChangeFileModeFailedException::errNo ( ) [virtual]
Returns:
The errno from when the exception was created
id OFChangeFileModeFailedException::initWithClass:path:mode: ( Class  class_,
[path] OFString path,
[mode] mode_t  mode 
) [virtual]

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

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