20#import "OFException.h"
22OF_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;
The base class for all exceptions in ObjFW.
Definition OFException.h:155
A class for representing IRIs, URIs, URLs and URNs, for parsing them as well as accessing parts of th...
Definition OFIRI.h:41
An exception indicating an item could not be opened.
Definition OFOpenItemFailedException.h:33
OFString * path
The path of the item which could not be opened.
Definition OFOpenItemFailedException.h:49
OFString * mode
The mode in which the item should have been opened.
Definition OFOpenItemFailedException.h:54
OFIRI * IRI
The IRI of the item which could not be opened.
Definition OFOpenItemFailedException.h:44
A class for handling strings.
Definition OFString.h:139