Comment: | Make exception properties atomic. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
85e8ccc3a5470bda68581b1783893caf |
User & Date: | js on 2013-11-20 22:06:00 |
Other Links: | manifest | tags |
2013-11-22
| ||
18:23 | of_asprintf.m: Fix coding style. check-in: 619cced011 user: js tags: trunk | |
2013-11-20
| ||
22:06 | Make exception properties atomic. check-in: 85e8ccc3a5 user: js tags: trunk | |
20:47 | OFZIP: Explain override options. check-in: f026fdfacf user: js tags: trunk | |
Modified src/exceptions/OFAcceptFailedException.h from [f0e4e112f3] to [6162445a87].
︙ | |||
30 31 32 33 34 35 36 | 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 | - + | @interface OFAcceptFailedException: OFException { OFTCPSocket *_socket; int _errNo; } #ifdef OF_HAVE_PROPERTIES |
︙ |
Modified src/exceptions/OFAcceptFailedException.m from [0b32311d32] to [a8b056d8fd].
︙ | |||
64 65 66 67 68 69 70 | 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 | - + | return [OFString stringWithFormat: @"Failed to accept connection in socket of class %@! " ERRFMT, [_socket class], ERRPARAM]; } - (OFTCPSocket*)socket { |
Modified src/exceptions/OFAddressTranslationFailedException.h from [a3e30f5dc7] to [f282b28211].
︙ | |||
31 32 33 34 35 36 37 | 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 | - - + + | { OFTCPSocket *_socket; OFString *_host; int _errNo; } #ifdef OF_HAVE_PROPERTIES |
︙ |
Modified src/exceptions/OFAddressTranslationFailedException.m from [c103e6dc5d] to [e5b08ed3d1].
︙ | |||
103 104 105 106 107 108 109 | 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 | - + - + | return [OFString stringWithFormat: @"An address could not be translated! " ERRFMT, AT_ERRPARAM]; } - (OFString*)host { |
Modified src/exceptions/OFAlreadyConnectedException.h from [04eb25813d] to [08f9dbcbbf].
︙ | |||
28 29 30 31 32 33 34 | 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 | - + | */ @interface OFAlreadyConnectedException: OFException { OFTCPSocket *_socket; } #ifdef OF_HAVE_PROPERTIES |
︙ |
Modified src/exceptions/OFAlreadyConnectedException.m from [19c0342b16] to [c94a781825].
︙ | |||
55 56 57 58 59 60 61 | 55 56 57 58 59 60 61 62 63 64 | - + | [_socket class]]; else return @"A connection has already been established!"; } - (OFTCPSocket*)socket { |
Modified src/exceptions/OFBindFailedException.h from [3a09e72633] to [10e7844d52].
︙ | |||
32 33 34 35 36 37 38 | 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 | - + - + | OFTCPSocket *_socket; OFString *_host; uint16_t _port; int _errNo; } #ifdef OF_HAVE_PROPERTIES |
︙ |
Modified src/exceptions/OFBindFailedException.m from [0685d3e4c2] to [8568a2e239].
︙ | |||
78 79 80 81 82 83 84 | 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 | - + - + | return [OFString stringWithFormat: @"Binding to port %" @PRIu16 @" on host %@ failed in socket of " @"type %@! " ERRFMT, _port, _host, [_socket class], ERRPARAM]; } - (OFString*)host { |
Modified src/exceptions/OFChangeCurrentDirectoryPathFailedException.h from [5677a9d1f1] to [c87d31cd14].
︙ | |||
25 26 27 28 29 30 31 | 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | - + | @interface OFChangeCurrentDirectoryPathFailedException: OFException { OFString *_path; int _errNo; } #ifdef OF_HAVE_PROPERTIES |
︙ |
Modified src/exceptions/OFChangeCurrentDirectoryPathFailedException.m from [a962360020] to [ec26a362b7].
︙ | |||
68 69 70 71 72 73 74 | 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 | - + | return [OFString stringWithFormat: @"Failed to change the current directory path to %@! " ERRFMT, _path, ERRPARAM]; } - (OFString*)path { |
Modified src/exceptions/OFChangeOwnerFailedException.h from [f2dbd49a78] to [300827002e].
︙ | |||
25 26 27 28 29 30 31 | 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | - + | @interface OFChangeOwnerFailedException: OFException { OFString *_path, *_owner, *_group; int _errNo; } #ifdef OF_HAVE_PROPERTIES |
︙ |
Modified src/exceptions/OFChangeOwnerFailedException.m from [c4778e2f1f] to [da5fdc5878].
︙ | |||
88 89 90 91 92 93 94 | 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 | - + - + - + | return [OFString stringWithFormat: @"Failed to change owner of item at path %@ to %@:%@! " ERRFMT, _path, _owner, _group, ERRPARAM]; } - (OFString*)path { |
Modified src/exceptions/OFChangePermissionsFailedException.h from [61b9c436c8] to [9a37a3661e].
︙ | |||
28 29 30 31 32 33 34 | 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 | - + | { OFString *_path; mode_t _permissions; int _errNo; } #ifdef OF_HAVE_PROPERTIES |
︙ |
Modified src/exceptions/OFChangePermissionsFailedException.m from [f45ef169fb] to [95d5918ec4].
︙ | |||
72 73 74 75 76 77 78 | 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 | - + | return [OFString stringWithFormat: @"Failed to change permissions of item at path %@ to %d! " ERRFMT, _path, _permissions, ERRPARAM]; } - (OFString*)path { |
Modified src/exceptions/OFConditionBroadcastFailedException.h from [d91cb950af] to [3ff338b702].
︙ | |||
27 28 29 30 31 32 33 | 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 | - + | */ @interface OFConditionBroadcastFailedException: OFException { OFCondition *_condition; } #ifdef OF_HAVE_PROPERTIES |
︙ |
Modified src/exceptions/OFConditionBroadcastFailedException.m from [687deff470] to [216f113c36].
︙ | |||
60 61 62 63 64 65 66 | 60 61 62 63 64 65 66 67 68 69 | - + | { return [OFString stringWithFormat: @"Broadcasting a condition of type %@ failed!", [_condition class]]; } - (OFCondition*)condition { |
Modified src/exceptions/OFConditionSignalFailedException.h from [29beaca23e] to [bbcaee08fc].
︙ | |||
27 28 29 30 31 32 33 | 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 | - + | */ @interface OFConditionSignalFailedException: OFException { OFCondition *_condition; } #ifdef OF_HAVE_PROPERTIES |
︙ |
Modified src/exceptions/OFConditionSignalFailedException.m from [86cb7e17c0] to [e285820a8f].
︙ | |||
60 61 62 63 64 65 66 | 60 61 62 63 64 65 66 67 68 69 | - + | { return [OFString stringWithFormat: @"Signaling a condition of type %@ failed!", [_condition class]]; } - (OFCondition*)condition { |
Modified src/exceptions/OFConditionStillWaitingException.h from [9a12108683] to [ae404bab50].
︙ | |||
28 29 30 31 32 33 34 | 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 | - + | */ @interface OFConditionStillWaitingException: OFException { OFCondition *_condition; } #ifdef OF_HAVE_PROPERTIES |
︙ |
Modified src/exceptions/OFConditionStillWaitingException.m from [d3b56a4ad3] to [00e380e989].
︙ | |||
61 62 63 64 65 66 67 | 61 62 63 64 65 66 67 68 69 70 | - + | return [OFString stringWithFormat: @"Deallocation of a condition of type %@ was tried, even though a " @"thread was still waiting for it!", [_condition class]]; } - (OFCondition*)condition { |
Modified src/exceptions/OFConditionWaitFailedException.h from [de7db2140c] to [6e50c0e94e].
︙ | |||
27 28 29 30 31 32 33 | 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 | - + | */ @interface OFConditionWaitFailedException: OFException { OFCondition *_condition; } #ifdef OF_HAVE_PROPERTIES |
︙ |
Modified src/exceptions/OFConditionWaitFailedException.m from [65ff5cc010] to [eacb3cb5f7].
︙ | |||
60 61 62 63 64 65 66 | 60 61 62 63 64 65 66 67 68 69 | - + | { return [OFString stringWithFormat: @"Waiting for a condition of type %@ failed!", [_condition class]]; } - (OFCondition*)condition { |
Modified src/exceptions/OFConnectionFailedException.h from [61282e85bf] to [6d0b161eef].
︙ | |||
32 33 34 35 36 37 38 | 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 | - - + + | OFTCPSocket *_socket; OFString *_host; uint16_t _port; int _errNo; } #ifdef OF_HAVE_PROPERTIES |
︙ |
Modified src/exceptions/OFConnectionFailedException.m from [4036f5e827] to [471928a109].
︙ | |||
79 80 81 82 83 84 85 | 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 | - + - + | @"A connection to %@ on port %" @PRIu16 @" could not be " @"established in socket of type %@! " ERRFMT, _host, _port, [_socket class], ERRPARAM]; } - (OFString*)host { |
Modified src/exceptions/OFCopyFileFailedException.h from [7fef79058c] to [ef3edabe1c].
︙ | |||
24 25 26 27 28 29 30 | 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | - - + + | @interface OFCopyFileFailedException: OFException { OFString *_sourcePath, *_destinationPath; int _errNo; } #ifdef OF_HAVE_PROPERTIES |
︙ |
Modified src/exceptions/OFCopyFileFailedException.m from [124bf86a2d] to [e2611a58a4].
︙ | |||
73 74 75 76 77 78 79 | 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 | - + - + | return [OFString stringWithFormat: @"Failed to copy file %@ to %@! " ERRFMT, _sourcePath, _destinationPath, ERRPARAM]; } - (OFString*)sourcePath { |
Modified src/exceptions/OFCreateDirectoryFailedException.h from [5df77d0e78] to [0bb5e38242].
︙ | |||
24 25 26 27 28 29 30 | 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | - + | @interface OFCreateDirectoryFailedException: OFException { OFString *_path; int _errNo; } #ifdef OF_HAVE_PROPERTIES |
︙ |
Modified src/exceptions/OFCreateDirectoryFailedException.m from [afa7c99661] to [50fb411f1e].
︙ | |||
67 68 69 70 71 72 73 | 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 | - + | { return [OFString stringWithFormat: @"Failed to create directory %@! " ERRFMT, _path, ERRPARAM]; } - (OFString*)path { |
Modified src/exceptions/OFCreateSymbolicLinkFailedException.h from [269d5052a0] to [8302938581].
︙ | |||
25 26 27 28 29 30 31 | 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | - + | @interface OFCreateSymbolicLinkFailedException: OFException { OFString *_sourcePath, *_destinationPath; int _errNo; } #ifdef OF_HAVE_PROPERTIES |
︙ |
Modified src/exceptions/OFCreateSymbolicLinkFailedException.m from [1052a2a91b] to [a5e043dcde].
︙ | |||
74 75 76 77 78 79 80 | 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 | - + - + | return [OFString stringWithFormat: @"Failed to symlink file %@ to %@! " ERRFMT, _sourcePath, _destinationPath, ERRPARAM]; } - (OFString*)sourcePath { |
Modified src/exceptions/OFEnumerationMutationException.h from [6053c2c8e1] to [736441a296].
︙ | |||
22 23 24 25 26 27 28 | 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 | - + | */ @interface OFEnumerationMutationException: OFException { id _object; } #ifdef OF_HAVE_PROPERTIES |
︙ |
Modified src/exceptions/OFEnumerationMutationException.m from [c30d82b1bf] to [3af9010d50].
︙ | |||
62 63 64 65 66 67 68 | 62 63 64 65 66 67 68 69 70 71 | - + | return [OFString stringWithFormat: @"Object of class %@ was mutated during enumeration!", [_object class]]; } - (id)object { |
Modified src/exceptions/OFHTTPRequestFailedException.h from [aaa6f5e687] to [17489e9366].
︙ | |||
29 30 31 32 33 34 35 | 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 | - - + + | @interface OFHTTPRequestFailedException: OFException { OFHTTPRequest *_request; OFHTTPResponse *_response; } #ifdef OF_HAVE_PROPERTIES |
︙ |
Modified src/exceptions/OFHTTPRequestFailedException.m from [20d9b200ef] to [34b6f2f053].
︙ | |||
72 73 74 75 76 77 78 | 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 | - + - + | return [OFString stringWithFormat: @"An HTTP %s request with URL %@ failed with code %d!", method, [_request URL], [_response statusCode]]; } - (OFHTTPRequest*)request { |
Modified src/exceptions/OFHashAlreadyCalculatedException.h from [26212e193a] to [208caa0cd4].
︙ | |||
22 23 24 25 26 27 28 | 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 | - + | */ @interface OFHashAlreadyCalculatedException: OFException { id <OFHash> _hashObject; } #ifdef OF_HAVE_PROPERTIES |
︙ |
Modified src/exceptions/OFHashAlreadyCalculatedException.m from [65fa9294da] to [18369c4a51].
︙ | |||
62 63 64 65 66 67 68 | 62 63 64 65 66 67 68 69 70 71 | - + | return [OFString stringWithFormat: @"The hash of type %@ has already been calculated and thus no new " @"data can be added!", [_hashObject class]]; } - (id <OFHash>)hashObject { |
Modified src/exceptions/OFInvalidJSONException.h from [3557533be7] to [31be3be4c3].
︙ | |||
22 23 24 25 26 27 28 | 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 | - + | @interface OFInvalidJSONException: OFException { OFString *_string; size_t _line; } #ifdef OF_HAVE_PROPERTIES |
︙ |
Modified src/exceptions/OFInvalidJSONException.m from [71b494f3aa] to [559483f21d].
︙ | |||
16 17 18 19 20 21 22 23 24 25 26 27 28 29 | 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | + + | #include "config.h" #include <stdlib.h> #import "OFInvalidJSONException.h" #import "OFString.h" #import "macros.h" @implementation OFInvalidJSONException + (instancetype)exceptionWithString: (OFString*)string line: (size_t)line { return [[[self alloc] initWithString: string line: line] autorelease]; |
︙ | |||
68 69 70 71 72 73 74 | 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 | - + | { return [OFString stringWithFormat: @"The JSON representation is invalid in line %zu!", _line]; } - (OFString*)string { |
Modified src/exceptions/OFLinkFailedException.h from [289b5d8829] to [6df778cc47].
︙ | |||
25 26 27 28 29 30 31 | 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | - + | @interface OFLinkFailedException: OFException { OFString *_sourcePath, *_destinationPath; int _errNo; } # ifdef OF_HAVE_PROPERTIES |
︙ |
Modified src/exceptions/OFLinkFailedException.m from [2c1c49820b] to [72257aafbd].
︙ | |||
74 75 76 77 78 79 80 | 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 | - + - + | return [OFString stringWithFormat: @"Failed to link file %@ to %@! " ERRFMT, _sourcePath, _destinationPath, ERRPARAM]; } - (OFString*)sourcePath { |
Modified src/exceptions/OFListenFailedException.h from [e39552a483] to [9e94f6e60c].
︙ | |||
30 31 32 33 34 35 36 | 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 | - + | @interface OFListenFailedException: OFException { OFTCPSocket *_socket; int _backLog, _errNo; } #ifdef OF_HAVE_PROPERTIES |
︙ |
Modified src/exceptions/OFListenFailedException.m from [0f57a25169] to [b821e4cd80].
︙ | |||
68 69 70 71 72 73 74 | 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 | - + | return [OFString stringWithFormat: @"Failed to listen in socket of type %@ with a back log of %d! " ERRFMT, [_socket class], _backLog, ERRPARAM]; } - (OFTCPSocket*)socket { |
︙ |
Modified src/exceptions/OFLockFailedException.h from [6a3162b4c6] to [e996a43b5d].
︙ | |||
22 23 24 25 26 27 28 | 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 | - + | */ @interface OFLockFailedException: OFException { id <OFLocking> _lock; } #ifdef OF_HAVE_PROPERTIES |
︙ |
Modified src/exceptions/OFLockFailedException.m from [228ff4b707] to [9417f5830f].
︙ | |||
50 51 52 53 54 55 56 | 50 51 52 53 54 55 56 57 58 59 | - + | @"A lock of type %@ could not be locked!", [_lock class]]; else return @"A lock could not be locked!"; } - (id <OFLocking>)lock { |
Modified src/exceptions/OFMalformedXMLException.h from [e26d3a6383] to [944f135d12].
︙ | |||
23 24 25 26 27 28 29 | 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | - + | */ @interface OFMalformedXMLException: OFException { OFXMLParser *_parser; } #ifdef OF_HAVE_PROPERTIES |
︙ |
Modified src/exceptions/OFMalformedXMLException.m from [5e3ec3023c] to [dce21fa980].
︙ | |||
52 53 54 55 56 57 58 | 52 53 54 55 56 57 58 59 60 61 | - + | @"line %zu!", [_parser class], [_parser lineNumber]]; else return @"An XML parser encountered malformed XML!"; } - (OFXMLParser*)parser { |
Modified src/exceptions/OFMemoryNotPartOfObjectException.h from [c07cfbf85b] to [5621bda900].
︙ | |||
23 24 25 26 27 28 29 | 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | - + | { void *_pointer; id _object; } #ifdef OF_HAVE_PROPERTIES @property (readonly) void *pointer; |
︙ |
Modified src/exceptions/OFMemoryNotPartOfObjectException.m from [c419e3c092] to [ce4e415b85].
︙ | |||
16 17 18 19 20 21 22 23 24 25 26 27 28 29 | 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | + + | #include "config.h" #include <stdlib.h> #import "OFMemoryNotPartOfObjectException.h" #import "OFString.h" #import "macros.h" @implementation OFMemoryNotPartOfObjectException + (instancetype)exceptionWithPointer: (void*)pointer object: (id)object { return [[[self alloc] initWithPointer: pointer object: object] autorelease]; |
︙ | |||
71 72 73 74 75 76 77 | 73 74 75 76 77 78 79 80 81 82 | - + | - (void*)pointer { return _pointer; } - (id)object { |
Modified src/exceptions/OFNotConnectedException.h from [6e928fd0ee] to [51e2278647].
︙ | |||
27 28 29 30 31 32 33 | 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 | - + | */ @interface OFNotConnectedException: OFException { OFStreamSocket *_socket; } #ifdef OF_HAVE_PROPERTIES |
︙ |
Modified src/exceptions/OFNotConnectedException.m from [4793cd3e58] to [395fdef6b4].
︙ | |||
63 64 65 66 67 68 69 | 63 64 65 66 67 68 69 70 71 72 | - + | return [OFString stringWithFormat: @"The socket of type %@ is not connected or bound!", [_socket class]]; } - (OFStreamSocket*)socket { |
Modified src/exceptions/OFNotImplementedException.h from [c744f2f9d8] to [3f6519dbf8].
︙ | |||
24 25 26 27 28 29 30 | 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | - + | { SEL _selector; id _object; } #ifdef OF_HAVE_PROPERTIES @property (readonly) SEL selector; |
︙ |
Modified src/exceptions/OFNotImplementedException.m from [a874727b43] to [3675507b02].
︙ | |||
71 72 73 74 75 76 77 | 71 72 73 74 75 76 77 78 79 80 | - + | - (SEL)selector { return _selector; } - (id)object { |
Modified src/exceptions/OFOpenFileFailedException.h from [b868a55f08] to [9e3ed1e892].
︙ | |||
24 25 26 27 28 29 30 | 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | - + | @interface OFOpenFileFailedException: OFException { OFString *_path, *_mode; int _errNo; } #ifdef OF_HAVE_PROPERTIES |
︙ |
Modified src/exceptions/OFOpenFileFailedException.m from [81dda45767] to [c7d79c20a2].
︙ | |||
73 74 75 76 77 78 79 | 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 | - + - + | return [OFString stringWithFormat: @"Failed to open file %@ with mode %@! " ERRFMT, _path, _mode, ERRPARAM]; } - (OFString*)path { |
Modified src/exceptions/OFReadOrWriteFailedException.h from [b993663c55] to [6cde31ae1e].
︙ | |||
28 29 30 31 32 33 34 | 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 | - + | OFStream *_stream; size_t _requestedLength; @public int _errNo; } #ifdef OF_HAVE_PROPERTIES |
︙ |
Modified src/exceptions/OFReadOrWriteFailedException.m from [32fe9f37fd] to [1a0bc9c6ea].
︙ | |||
77 78 79 80 81 82 83 | 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 | - + | return [OFString stringWithFormat: @"Failed to read or write %zu bytes in a stream of type " @"%@! " ERRFMT, _requestedLength, [_stream class], ERRPARAM]; } - (OFStream*)stream { |
︙ |
Modified src/exceptions/OFRemoveItemFailedException.h from [8b02487093] to [2417f72edb].
︙ | |||
24 25 26 27 28 29 30 | 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | - + | @interface OFRemoveItemFailedException: OFException { OFString *_path; int _errNo; } #ifdef OF_HAVE_PROPERTIES |
︙ |
Modified src/exceptions/OFRemoveItemFailedException.m from [e961218ed3] to [fc2e8c40c3].
︙ | |||
67 68 69 70 71 72 73 | 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 | - + | { return [OFString stringWithFormat: @"Failed to remove item at path %@! " ERRFMT, _path, ERRPARAM]; } - (OFString*)path { |
Modified src/exceptions/OFRenameItemFailedException.h from [fc64bbda0e] to [c4ff526794].
︙ | |||
24 25 26 27 28 29 30 | 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | - + | @interface OFRenameItemFailedException: OFException { OFString *_sourcePath, *_destinationPath; int _errNo; } #ifdef OF_HAVE_PROPERTIES |
︙ |
Modified src/exceptions/OFRenameItemFailedException.m from [3f5784c53b] to [c997242f11].
︙ | |||
73 74 75 76 77 78 79 | 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 | - + - + | return [OFString stringWithFormat: @"Failed to rename item at path %@ to %@! " ERRFMT, _sourcePath, _destinationPath, ERRPARAM]; } - (OFString*)sourcePath { |
Modified src/exceptions/OFSeekFailedException.h from [1fb7b48763] to [72d3968f7a].
︙ | |||
29 30 31 32 33 34 35 | 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 | - + | { OFSeekableStream *_stream; off_t _offset; int _whence, _errNo; } #ifdef OF_HAVE_PROPERTIES |
︙ |
Modified src/exceptions/OFSeekFailedException.m from [b56aeff4f4] to [a61f6e2176].
︙ | |||
72 73 74 75 76 77 78 | 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 | - + | return [OFString stringWithFormat: @"Seeking failed in stream of type %@! " ERRFMT, [_stream class], ERRPARAM]; } - (OFSeekableStream*)stream { |
︙ |
Modified src/exceptions/OFSetOptionFailedException.h from [ecea3e530c] to [ed31d08d1c].
︙ | |||
23 24 25 26 27 28 29 | 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | - + | */ @interface OFSetOptionFailedException: OFException { OFStream *_stream; } #ifdef OF_HAVE_PROPERTIES |
︙ |
Modified src/exceptions/OFSetOptionFailedException.m from [57d4b54c8c] to [f58b958525].
︙ | |||
63 64 65 66 67 68 69 | 63 64 65 66 67 68 69 70 71 72 | - + | return [OFString stringWithFormat: @"Setting an option in a stream of type %@ failed!", [_stream class]]; } - (OFStream*)stream { |
Modified src/exceptions/OFStillLockedException.h from [d04ac10d66] to [f13bd828e0].
︙ | |||
22 23 24 25 26 27 28 | 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 | - + | */ @interface OFStillLockedException: OFException { id <OFLocking> _lock; } #ifdef OF_HAVE_PROPERTIES |
︙ |
Modified src/exceptions/OFStillLockedException.m from [ee03dade0c] to [a9e9bf2c69].
︙ | |||
52 53 54 55 56 57 58 | 52 53 54 55 56 57 58 59 60 61 | - + | else return @"Deallocation of a lock even though it was still " @"locked!"; } - (id <OFLocking>)lock { |
Modified src/exceptions/OFThreadJoinFailedException.h from [24a339c50b] to [d123264c4d].
︙ | |||
27 28 29 30 31 32 33 | 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 | - + | */ @interface OFThreadJoinFailedException: OFException { OFThread *_thread; } #ifdef OF_HAVE_PROPERTIES |
︙ |
Modified src/exceptions/OFThreadJoinFailedException.m from [aedf7e5de1] to [6799ed802b].
︙ | |||
61 62 63 64 65 66 67 | 61 62 63 64 65 66 67 68 69 70 | - + | return [OFString stringWithFormat: @"Joining a thread of type %@ failed! Most likely, another thread " @"already waits for the thread to join.", [_thread class]]; } - (OFThread*)thread { |
Modified src/exceptions/OFThreadStartFailedException.h from [cb2508253e] to [61aa6e4084].
︙ | |||
27 28 29 30 31 32 33 | 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 | - + | */ @interface OFThreadStartFailedException: OFException { OFThread *_thread; } #ifdef OF_HAVE_PROPERTIES |
︙ |
Modified src/exceptions/OFThreadStartFailedException.m from [2884001333] to [54005830f8].
︙ | |||
60 61 62 63 64 65 66 | 60 61 62 63 64 65 66 67 68 69 | - + | { return [OFString stringWithFormat: @"Starting a thread of type %@ failed!", [_thread class]]; } - (OFThread*)thread { |
Modified src/exceptions/OFThreadStillRunningException.h from [f6cbf16741] to [ae3feb4172].
︙ | |||
27 28 29 30 31 32 33 | 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 | - + | */ @interface OFThreadStillRunningException: OFException { OFThread *_thread; } #ifdef OF_HAVE_PROPERTIES |
︙ |
Modified src/exceptions/OFThreadStillRunningException.m from [60db06da77] to [c77a91365a].
︙ | |||
61 62 63 64 65 66 67 | 61 62 63 64 65 66 67 68 69 70 | - + | return [OFString stringWithFormat: @"Deallocation of a thread of type %@ was tried, even though it " @"was still running!", [_thread class]]; } - (OFThread*)thread { |
Modified src/exceptions/OFUnboundNamespaceException.h from [8613058bed] to [5065484612].
︙ | |||
25 26 27 28 29 30 31 | 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 | - + - + - + | { OFString *_namespace; OFXMLElement *_element; } #ifdef OF_HAVE_PROPERTIES # ifdef __cplusplus |
︙ |
Modified src/exceptions/OFUnboundNamespaceException.m from [37eac853b7] to [833fbe89dd].
︙ | |||
73 74 75 76 77 78 79 | 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 | - + - + | return [OFString stringWithFormat: @"The namespace %@ is not bound in an element of type %@!", _namespace, [_element class]]; } - (OFString*)namespace { |
Modified src/exceptions/OFUnboundPrefixException.h from [b043c011f9] to [ee5905f9a4].
︙ | |||
24 25 26 27 28 29 30 | 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | - - + + | @interface OFUnboundPrefixException: OFException { OFString *_prefix; OFXMLParser *_parser; } #ifdef OF_HAVE_PROPERTIES |
︙ |
Modified src/exceptions/OFUnboundPrefixException.m from [2ace552f90] to [b76d254da0].
︙ | |||
73 74 75 76 77 78 79 | 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 | - + - + | return [OFString stringWithFormat: @"An XML parser of type %@ encountered the unbound prefix %@ in " @"line %zu!", [_parser class], _prefix, [_parser lineNumber]]; } - (OFString*)prefix { |
Modified src/exceptions/OFUnlockFailedException.h from [a0438c9811] to [b9266f1783].
︙ | |||
22 23 24 25 26 27 28 | 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 | - + | */ @interface OFUnlockFailedException: OFException { id <OFLocking> _lock; } #ifdef OF_HAVE_PROPERTIES |
︙ |
Modified src/exceptions/OFUnlockFailedException.m from [758cbe9463] to [04cf4cfab5].
︙ | |||
50 51 52 53 54 55 56 | 50 51 52 53 54 55 56 57 58 59 | - + | @"A lock of type %@ could not be unlocked!", [_lock class]]; else return @"A lock could not be unlocked!"; } - (id <OFLocking>)lock { |
Modified src/exceptions/OFUnsupportedProtocolException.h from [eb9f027dc9] to [a6d04c74db].
︙ | |||
24 25 26 27 28 29 30 | 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | - + | */ @interface OFUnsupportedProtocolException: OFException { OFURL *_URL; } #ifdef OF_HAVE_PROPERTIES |
︙ |
Modified src/exceptions/OFUnsupportedProtocolException.m from [faf85806a1] to [d7d8e84a71].
︙ | |||
67 68 69 70 71 72 73 | 67 68 69 70 71 72 73 74 75 76 | - + | { return [OFString stringWithFormat: @"The protocol of URL %@ is not supported!", _URL]; } - (OFURL*)URL { |
Modified src/exceptions/OFUnsupportedVersionException.h from [58fd352d36] to [1be96af745].
︙ | |||
22 23 24 25 26 27 28 | 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 | - + | */ @interface OFUnsupportedVersionException: OFException { OFString *_version; } #ifdef OF_HAVE_PROPERTIES |
︙ |
Modified src/exceptions/OFUnsupportedVersionException.m from [d8db0ec580] to [efe3ce39e5].
︙ | |||
67 68 69 70 71 72 73 | 67 68 69 70 71 72 73 74 75 76 | - + | return [OFString stringWithFormat: @"Version %@ of the format or protocol is not supported!", _version]; } - (OFString*)version { |