16 #import "OFException.h" 18 OF_ASSUME_NONNULL_BEGIN
30 OFIRI *_Nullable _IRI;
40 @property OF_NULLABLE_PROPERTY (readonly, nonatomic)
OFIRI *
IRI;
45 @property OF_NULLABLE_PROPERTY (readonly, nonatomic)
OFString *
path;
50 @property OF_NULLABLE_PROPERTY (readonly, nonatomic)
OFString *
mode;
55 @property (readonly, nonatomic)
int errNo;
65 + (instancetype)exceptionWithIRI: (
OFIRI *)IRI
77 + (instancetype)exceptionWithPath: (
OFString *)path
81 + (instancetype)exception OF_UNAVAILABLE;
91 - (instancetype)initWithIRI: (
OFIRI *)IRI
103 - (instancetype)initWithPath: (
OFString *)path
107 - (instancetype)init OF_UNAVAILABLE;
110 OF_ASSUME_NONNULL_END
OFIRI * IRI
The IRI of the item which could not be opened.
Definition: OFOpenItemFailedException.h:40
A class for handling strings.
Definition: OFString.h:134
OFString * mode
The mode in which the item should have been opened.
Definition: OFOpenItemFailedException.h:50
OFString * path
The path of the item which could not be opened.
Definition: OFOpenItemFailedException.h:45
A class for representing IRIs, URIs, URLs and URNs, for parsing them as well as accessing parts of th...
Definition: OFIRI.h:35
The base class for all exceptions in ObjFW.
Definition: OFException.h:150
An exception indicating an item could not be opened.
Definition: OFOpenItemFailedException.h:28