17 #import "OFException.h" 19 OF_ASSUME_NONNULL_BEGIN
32 uint16_t _permissions;
49 @property (readonly, nonatomic)
int errNo;
61 + (instancetype)exceptionWithPath: (
OFString *)path
62 permissions: (uint16_t)permissions
65 -
init OF_UNAVAILABLE;
76 permissions: (uint16_t)permissions
77 errNo: (
int)errNo OF_DESIGNATED_INITIALIZER;
uint16_t permissions
Definition: OFChangePermissionsFailedException.h:44
An exception indicating that changing the permissions of an item failed.
Definition: OFChangePermissionsFailedException.h:29
A class for handling strings.
Definition: OFString.h:114
int errNo
Definition: OFChangePermissionsFailedException.h:49
id init()
Initializes an already allocated object.
Definition: OFObject.m:488
The base class for all exceptions in ObjFW.
Definition: OFException.h:143
OFString * path
Definition: OFChangePermissionsFailedException.h:39
instancetype exception()
Creates a new, autoreleased exception.
Definition: OFException.m:250