16 #import "OFException.h"
18 OF_ASSUME_NONNULL_BEGIN
30 OFURL *_Nullable _URL;
39 @property OF_NULLABLE_PROPERTY (readonly, nonatomic)
OFURL *
URL;
44 @property OF_NULLABLE_PROPERTY (readonly, nonatomic)
OFString *
path;
49 @property OF_NULLABLE_PROPERTY (readonly, nonatomic)
OFString *
mode;
54 @property (readonly, nonatomic)
int errNo;
56 + (instancetype)exception OF_UNAVAILABLE;
66 + (instancetype)exceptionWithURL: (
OFURL *)URL
78 + (instancetype)exceptionWithPath: (
OFString *)path
82 - (instancetype)init OF_UNAVAILABLE;
92 - (instancetype)initWithURL: (
OFURL *)URL
104 - (instancetype)initWithPath: (
OFString *)path
109 OF_ASSUME_NONNULL_END
The base class for all exceptions in ObjFW.
Definition: OFException.h:147
An exception indicating an item could not be opened.
Definition: OFOpenItemFailedException.h:29
OFString * path
The path of the item which could not be opened.
Definition: OFOpenItemFailedException.h:44
OFString * mode
The mode in which the item should have been opened.
Definition: OFOpenItemFailedException.h:49
OFURL * URL
The URL of the item which could not be opened.
Definition: OFOpenItemFailedException.h:39
A class for handling strings.
Definition: OFString.h:132
A class for parsing URLs and accessing parts of it.
Definition: OFURL.h:34