20 #import "OFException.h" 22 OF_ASSUME_NONNULL_BEGIN
34 OFIRI *_Nullable _IRI;
44 @property OF_NULLABLE_PROPERTY (readonly, nonatomic)
OFIRI *
IRI;
49 @property OF_NULLABLE_PROPERTY (readonly, nonatomic)
OFString *
path;
54 @property OF_NULLABLE_PROPERTY (readonly, nonatomic)
OFString *
mode;
59 @property (readonly, nonatomic)
int errNo;
69 + (instancetype)exceptionWithIRI: (
OFIRI *)IRI
81 + (instancetype)exceptionWithPath: (
OFString *)path
85 + (instancetype)exception OF_UNAVAILABLE;
95 - (instancetype)initWithIRI: (
OFIRI *)IRI
107 - (instancetype)initWithPath: (
OFString *)path
111 - (instancetype)init OF_UNAVAILABLE;
114 OF_ASSUME_NONNULL_END
OFIRI * IRI
The IRI of the item which could not be opened.
Definition: OFOpenItemFailedException.h:44
A class for handling strings.
Definition: OFString.h:138
OFString * mode
The mode in which the item should have been opened.
Definition: OFOpenItemFailedException.h:54
OFString * path
The path of the item which could not be opened.
Definition: OFOpenItemFailedException.h:49
A class for representing IRIs, URIs, URLs and URNs, for parsing them as well as accessing parts of th...
Definition: OFIRI.h:39
The base class for all exceptions in ObjFW.
Definition: OFException.h:154
An exception indicating an item could not be opened.
Definition: OFOpenItemFailedException.h:32