11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
* Public License, either version 2 or 3, which can be found in the file
* LICENSE.GPLv2 or LICENSE.GPLv3 respectively included in the packaging of this
* file.
*/
#include "config.h"
#import "OFRetrieveItemAttributesFailedException.h"
#import "OFString.h"
#import "OFURL.h"
@implementation OFRetrieveItemAttributesFailedException
@synthesize URL = _URL, errNo = _errNo;
+ (instancetype)exception
{
OF_UNRECOGNIZED_SELECTOR
}
|
|
|
|
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
* Public License, either version 2 or 3, which can be found in the file
* LICENSE.GPLv2 or LICENSE.GPLv3 respectively included in the packaging of this
* file.
*/
#include "config.h"
#import "OFGetItemAttributesFailedException.h"
#import "OFString.h"
#import "OFURL.h"
@implementation OFGetItemAttributesFailedException
@synthesize URL = _URL, errNo = _errNo;
+ (instancetype)exception
{
OF_UNRECOGNIZED_SELECTOR
}
|
58
59
60
61
62
63
64
65
66
67
68
|
[super dealloc];
}
- (OFString *)description
{
return [OFString stringWithFormat:
@"Failed to retrieve attributes for item %@: %@",
_URL, OFStrError(_errNo)];
}
@end
|
|
|
58
59
60
61
62
63
64
65
66
67
68
|
[super dealloc];
}
- (OFString *)description
{
return [OFString stringWithFormat:
@"Failed to get attributes for item %@: %@",
_URL, OFStrError(_errNo)];
}
@end
|