Overview
| Comment: | Remove useless descriptions in some exceptions
errNo could never be 0 for those exceptions, so there's no point in |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
e8bb29e8e861e7765ae24833b2a4eb71 |
| User & Date: | js on 2015-02-20 18:52:27 |
| Other Links: | manifest | tags |
Context
|
2015-02-23
| ||
| 00:19 | OFSystemInfo: Add methods to check CPU features (check-in: a7ebc72ac7 user: js tags: trunk) | |
|
2015-02-20
| ||
| 18:52 | Remove useless descriptions in some exceptions (check-in: e8bb29e8e8 user: js tags: trunk) | |
| 18:41 | Use a mutex for gai_strerror() if necessary (check-in: 724e07f923 user: js tags: trunk) | |
Changes
Modified src/exceptions/OFCopyItemFailedException.m from [31714a2509] to [dcfb3bb51c].
| ︙ | ︙ | |||
58 59 60 61 62 63 64 |
[_destinationPath release];
[super dealloc];
}
- (OFString*)description
{
| < | < | < < < < | 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 |
[_destinationPath release];
[super dealloc];
}
- (OFString*)description
{
return [OFString stringWithFormat: @"Failed to copy item %@ to %@: %@",
_sourcePath, _destinationPath, of_strerror(_errNo)];
}
- (OFString*)sourcePath
{
OF_GETTER(_sourcePath, true)
}
|
| ︙ | ︙ |
Modified src/exceptions/OFMoveItemFailedException.m from [9aecf924e2] to [aa0688f8e1].
| ︙ | ︙ | |||
58 59 60 61 62 63 64 |
[_destinationPath release];
[super dealloc];
}
- (OFString*)description
{
| < | | | < < < < | 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 |
[_destinationPath release];
[super dealloc];
}
- (OFString*)description
{
return [OFString stringWithFormat:
@"Failed to move item at path %@ to %@: %@",
_sourcePath, _destinationPath, of_strerror(_errNo)];
}
- (OFString*)sourcePath
{
OF_GETTER(_sourcePath, true)
}
|
| ︙ | ︙ |
Modified src/exceptions/OFRemoveItemFailedException.m from [0dda65f54c] to [d1d562f2a2].
| ︙ | ︙ | |||
53 54 55 56 57 58 59 |
[_path release];
[super dealloc];
}
- (OFString*)description
{
| < | | | < < < | 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 |
[_path release];
[super dealloc];
}
- (OFString*)description
{
return [OFString stringWithFormat:
@"Failed to remove item at path %@: %@",
_path, of_strerror(_errNo)];
}
- (OFString*)path
{
OF_GETTER(_path, true)
}
- (int)errNo
{
return _errNo;
}
@end
|