ObjFW  History of src/OFExceptions.h of c1687f2be369031f

History of file src/OFExceptions.h at check-in c1687f2be369031f

2011-03-24
19:42
Deleted: Get rid of OFExceptions.h. check-in: [cda44767f4] user: js, branch: trunk, size: 0
16:09
Split OFExceptions.{h,m} into one file per exception. file: [fefb34fe2f] check-in: [e1eea29286] user: js, branch: trunk, size: 2562 [annotate] [blame] [check-ins using] [diff]
2011-03-07
16:00
Add class OFCondition. file: [a9f1cf1d10] check-in: [615eb3e46b] user: js, branch: trunk, size: 32387 [annotate] [blame] [check-ins using] [diff]
13:43
Throw an exception when trying to deallocate a locked mutex. file: [40dbf508af] check-in: [f5515b0a1f] user: js, branch: trunk, size: 31822 [annotate] [blame] [check-ins using] [diff]
2011-02-25
12:14
OFHTTPRequest: Check Content-Length if present to check for truncation. file: [7ada383252] check-in: [9e647a2ddd] user: js, branch: trunk, size: 31697 [annotate] [blame] [check-ins using] [diff]
2011-02-10
17:19
Use ports instead of services in OFTCPSocket. file: [8168934e0a] check-in: [a3e03981ea] user: js, branch: trunk, size: 31530 [annotate] [blame] [check-ins using] [diff]
2011-02-09
16:16
Add OFHTTPRequest class. file: [015ac7b5d3] check-in: [3beecbace3] user: js, branch: trunk, size: 32029 [annotate] [blame] [check-ins using] [diff]
2011-01-31
18:53
Fix ObjC++. file: [65b9bf22dd] check-in: [c8a9dd6194] user: js, branch: trunk, size: 30663 [annotate] [blame] [check-ins using] [diff]
2011-01-30
12:00
{} is not required for doxygen anymore. file: [5e9c974d2d] check-in: [be0af07922] user: js, branch: trunk, size: 30652 [annotate] [blame] [check-ins using] [diff]
2011-01-23
01:07
Merge changes into 0.4 branch.

Changesets:
* 67f56a9b2701
* e93dc7881ac2
* 39cee2729741
* e3ae6cbe1a1d
* e60e7e4639b4
* d9ef36b4546b
* 4c582ed164a4
* 51f21db0e6e1
* 3da138c08f0b
* 2972e6711adc
* 1702fb32d80a
* 3ed63a403236
* a20f977e123d
* f567f4aeef62
* 09f1e3e3c19a
* d141b8e84772
* 5a56c5392288
* 1690e3a42d1c
* 82b11d582d4e
* e7d95ae95836
* 3b7d2b31079d
* b42a0f893345
* a3e7c9bc7fb6 file: [78d3a5daf4] check-in: [1d6a89a772] user: js, branch: 0.4, size: 29831 [annotate] [blame] [check-ins using] [diff]

2011-01-22
23:53
Autodetect family in -[bindService:onNode:]. file: [3d68b9c6ab] check-in: [ca53d41c0f] user: js, branch: trunk, size: 30703 [annotate] [blame] [check-ins using] [diff]
2011-01-14
12:22
Add OFURL class. file: [a9ea4a0db3] check-in: [164c76c0cf] user: js, branch: trunk, size: 30972 [annotate] [blame] [check-ins using] [diff]
2011-01-08
16:05
Fix two FIXMEs. file: [24104f796c] check-in: [202daae1d1] user: js, branch: trunk, size: 30100 [annotate] [blame] [check-ins using] [diff]
2011-01-01
20:19
Change license. file: [4c46e6fa5d] check-in: [da6b3d26cb] user: js, branch: trunk, size: 30092 [annotate] [blame] [check-ins using] [diff]
2010-12-20
21:41
Add +[changeToDirectory:] to OFFile. file: [47fe40eae4] check-in: [4cf3648097] user: js, branch: trunk, size: 29836 [annotate] [blame] [check-ins using] [diff]
15:12
Documentation improvements. file: [cf0e8b7f35] check-in: [bf836060fb] user: js, branch: trunk, size: 28721 [annotate] [blame] [check-ins using] [diff]
2010-12-13
23:32
OFFile: Accept usernames and groupnames instead of UIDs and GIDs. file: [501618be41] check-in: [bc3cdb9ee9] user: js, branch: trunk, size: 28732 [annotate] [blame] [check-ins using] [diff]
2010-12-11
20:27
Rename a few exception-related methods. file: [997d7c3607] check-in: [5e44debc07] user: js, branch: trunk, size: 28669 [annotate] [blame] [check-ins using] [diff]
2010-12-10
11:21
Documentation fixes. file: [c7546e633b] check-in: [fada60d54c] user: js, branch: trunk, size: 28637 [annotate] [blame] [check-ins using] [diff]
2010-12-07
23:53
Rename -[string] to -[description] in OFException. file: [0762a06ea3] check-in: [684d24b23e] user: js, branch: trunk, size: 28651 [annotate] [blame] [check-ins using] [diff]
2010-10-25
17:59
Make OFAllocFailedException base on OFObject. file: [39ed0da333] check-in: [2a64b0ca64] user: js, branch: trunk, size: 28668 [annotate] [blame] [check-ins using] [diff]
2010-09-08
21:17
Fix Objective C++ compatibility. file: [9a0cdb555b] check-in: [9d6716470e] user: js, branch: trunk, size: 28692 [annotate] [blame] [check-ins using] [diff]
2010-06-06
20:04
Support for namespaces in OFXMLElement and OFXMLParser. HUGE diff! file: [258dd6b4db] check-in: [e8c8d5a894] user: js, branch: trunk, size: 28702 [annotate] [blame] [check-ins using] [diff]
2010-04-21
07:15
Add +[copyFileAtPath:toPath:] and +[deleteDirectoryAtPath:] to OFFile. file: [51068b190a] check-in: [d92e0d0313] user: js, branch: trunk, size: 27152 [annotate] [blame] [check-ins using] [diff]
2010-04-17
23:04
Add properties to interfaces. Only used if supported by the compiler. file: [d52f2d2889] check-in: [f3e7291fad] user: js, branch: trunk, size: 24950 [annotate] [blame] [check-ins using] [diff]
22:27
New ivar naming convention.

ivars are now named like this: thisIsAnIVar. If an accessor exists for
the ivar, the ivar is named like the accessor. This is required for
@property to work. file: [6329d53dc9] check-in: [37db8f0fb3] user: js, branch: trunk, size: 22280 [annotate] [blame] [check-ins using] [diff]

21:43
Better method names for file- and stream-related exceptions. file: [f8a53f2bce] check-in: [1f19713fd3] user: js, branch: trunk, size: 22185 [annotate] [blame] [check-ins using] [diff]
2010-04-15
08:43
Add OFCreateDirectoryFailedException. file: [ff60e9a5c7] check-in: [ffc622db15] user: js, branch: trunk, size: 22052 [annotate] [blame] [check-ins using] [diff]
2010-04-10
21:29
Greatly improve OFThread.
This fixes a lot of issues that happened in the real world.
file: [2ecc9888d8] check-in: [ea96fd1e24] user: js, branch: trunk, size: 21070 [annotate] [blame] [check-ins using] [diff]
2010-04-09
15:12
Add OFSeekableStream and implement seeking for OFFile. file: [ae635852ff] check-in: [0890f73f75] user: js, branch: trunk, size: 20798 [annotate] [blame] [check-ins using] [diff]
2010-03-14
12:37
Documentation improvements. file: [1d2de381ea] check-in: [40523d5535] user: js, branch: trunk, size: 20571 [annotate] [blame] [check-ins using] [diff]
2010-02-19
16:36
Update copyright. file: [55b101ef73] check-in: [42886185fd] user: js, branch: trunk, size: 20580 [annotate] [blame] [check-ins using] [diff]
2010-02-11
14:58
Documentation improvements. file: [539f8bdc7a] check-in: [72caeab860] user: js, branch: trunk, size: 20580 [annotate] [blame] [check-ins using] [diff]
2010-01-30
14:26
Don't define methods unavailable on Windows. file: [84921b5752] check-in: [c9e9ea561c] user: js, branch: trunk, size: 20290 [annotate] [blame] [check-ins using] [diff]
2010-01-16
15:05
Reduce dependencies between headers. file: [da2deb8e90] check-in: [1433aef0d0] user: js, branch: trunk, size: 20242 [annotate] [blame] [check-ins using] [diff]
2010-01-03
17:22
Add OFFastEnumeration protocol and OFEnumerationMutationException. file: [cfd86aca94] check-in: [9a881883be] user: js, branch: trunk, size: 20245 [annotate] [blame] [check-ins using] [diff]
2009-12-23
22:30
Documentation improvements. file: [b3fc0e5ad0] check-in: [19ac0520ae] user: js, branch: trunk, size: 20096 [annotate] [blame] [check-ins using] [diff]
2009-12-03
18:50
Make OFStream caching invisible to the programmer. file: [1cdedb1af1] check-in: [fc0b2500b9] user: js, branch: trunk, size: 20096 [annotate] [blame] [check-ins using] [diff]
10:29
More documentation improvements. file: [d069b97d96] check-in: [012cee4f80] user: js, branch: trunk, size: 21090 [annotate] [blame] [check-ins using] [diff]
2009-11-22
16:57
Make it very clear that OFExceptions don't use autorelease pools. file: [4830360b39] check-in: [0fbbfb7158] user: js, branch: trunk, size: 21129 [annotate] [blame] [check-ins using] [diff]
2009-11-15
14:25
Get rid of 3 more FIXMEs. file: [03c9f4b0e9] check-in: [51833ec7a7] user: js, branch: trunk, size: 21025 [annotate] [blame] [check-ins using] [diff]
01:39
Improve OFFile and add a few new exceptions. file: [bb672c63ef] check-in: [5cb7f93a1f] user: js, branch: trunk, size: 20879 [annotate] [blame] [check-ins using] [diff]
2009-11-13
18:53
Resolve more FIXMEs. file: [26a733beee] check-in: [f1637e9310] user: js, branch: trunk, size: 16789 [annotate] [blame] [check-ins using] [diff]
18:42
Add OFMutex(Lock|Unlock)FailedException and fix a few FIXMEs. file: [dcad64c6f9] check-in: [9a623a35d0] user: js, branch: trunk, size: 16920 [annotate] [blame] [check-ins using] [diff]
2009-11-09
22:45
Rename libobjfw to ObjFW. file: [06d4aa94e1] check-in: [a3cc34b139] user: js, branch: trunk, size: 16664 [annotate] [blame] [check-ins using] [diff]
2009-11-03
16:48
Rename class to class_ for the sake of Objective C++ compatibility. file: [ba9ff74cd7] check-in: [8a35bb55a8] user: js, branch: trunk, size: 16667 [annotate] [blame] [check-ins using] [diff]
2009-08-16
13:28
Add OF{Link,Symlink}FailedException. file: [2b898edd58] check-in: [35d9dbcd6f] user: js, branch: trunk, size: 16610 [annotate] [blame] [check-ins using] [diff]
2009-08-10
18:37
More checking for malformed/invalid XML. file: [fa5104c9e6] check-in: [a70d90b09e] user: js, branch: trunk, size: 14432 [annotate] [blame] [check-ins using] [diff]
2009-07-19
14:05
Rename andFoo: to foo: in all methods. file: [16ecb98c6a] check-in: [4eae61a78f] user: js, branch: trunk, size: 14286 [annotate] [blame] [check-ins using] [diff]
2009-06-02
17:21
Take care of the root metaclass's super being the root class. file: [1fccb40947] check-in: [4c343b7841] user: js, branch: trunk, size: 14409 [annotate] [blame] [check-ins using] [diff]
2009-05-29
19:21
A few renames.

OFExceptions:
* OFNoMemException to OFOutOfMemoryException.
* OFMemNotPartOfObjException to OFMemoryNotPartOfObjectException.

OFObject:
* -[addItemToMemoryPool:] to -[addMemoryToPool:].
* -[allocWithSize:] to -[allocMemoryWithSize:].
* -[allocNItems:withSize] to -[allocMemoryForNItems:withSize:].
* -[resizeMem:toSize] to -[resizeMemory:toSize:].
* -[resizeMem:toNItems:withSize:] to
-[resizeMemoryToNItems:withSize:].
* -[freeMem] to -[freeMemory:].

OFString:
* -[urlencode] to -[urlEncodedString].
* -[urldecode] to -[urlDecodedString]. file: [cd34df0695] check-in: [033054ad75] user: js, branch: trunk, size: 14408 [annotate] [blame] [check-ins using] [diff]

2009-05-15
20:01
Use OFString as much as possible. file: [97d15662b8] check-in: [67066be692] user: js, branch: trunk, size: 14396 [annotate] [blame] [check-ins using] [diff]
2009-05-14
14:24
Get rid of OFNotInSetException. file: [046ef80792] check-in: [bdc9b3219f] user: js, branch: trunk, size: 14448 [annotate] [blame] [check-ins using] [diff]
2009-05-13
20:31
Rename - free to - (void)dealloc. file: [df20b2266d] check-in: [9e6dd00ef5] user: js, branch: trunk, size: 14580 [annotate] [blame] [check-ins using] [diff]
2009-05-01
20:24
Preliminary OFThread implementation. file: [a500d93cbc] check-in: [e5bcc6a3be] user: js, branch: trunk, size: 14572 [annotate] [blame] [check-ins using] [diff]
2009-04-22
22:37
Throw exception if the key was not found in the OFDictionary. file: [a0a41c0e56] check-in: [36d50170c9] user: js, branch: trunk, size: 14311 [annotate] [blame] [check-ins using] [diff]
2009-04-21
17:19
OFException should not override - class, rename it to - inClass. file: [0feac0a56e] check-in: [770a3a4fe4] user: js, branch: trunk, size: 14176 [annotate] [blame] [check-ins using] [diff]
16:47
Throw OFAllocFailedException instead of returning nil.
This exception is quite special, look at the documentation for details.
file: [5a3910cc75] check-in: [a1a5bfb3cd] user: js, branch: trunk, size: 14169 [annotate] [blame] [check-ins using] [diff]
2009-04-12
14:05
Add OFNotImplementedException. file: [edbf4d480b] check-in: [ca4a07a578] user: js, branch: trunk, size: 13519 [annotate] [blame] [check-ins using] [diff]
2009-02-14
17:08
Big diff, see details.

* Add OFComparable protocol.
* Add OFInvalidArgument exception - needs that sel_getName vs.
sel_get_name stuff again, therefore reintroduce it.
* Implement proper copy method for OFString and OFArray.
* Add isEqual: and compare: for OFString and OFArray. file: [3a58ffe4f3] check-in: [61a6ac873a] user: js, branch: trunk, size: 12784 [annotate] [blame] [check-ins using] [diff]

2009-01-24
15:24
Adjust API to introduction of OFAutoreleasePool. file: [fb7bdc037c] check-in: [1496808b81] user: js, branch: trunk, size: 12056 [annotate] [blame] [check-ins using] [diff]
2009-01-05
00:59
Update copyright. file: [5b59b73e4f] check-in: [f1b749d113] user: js, branch: trunk, size: 11996 [annotate] [blame] [check-ins using] [diff]
2009-01-04
01:40
Clean up exceptions. file: [cd6f8f6fc9] check-in: [bb1fe89478] user: js, branch: trunk, size: 11989 [annotate] [blame] [check-ins using] [diff]
2008-12-24
11:55
Add methods to initalize from and append from formatted C strings. file: [46aed1bedf] check-in: [486760ed2b] user: js, branch: trunk, size: 13897 [annotate] [blame] [check-ins using] [diff]
2008-12-23
15:09
New OFInitializationFailedException. file: [7922fd98d6] check-in: [10be0cc7e6] user: js, branch: trunk, size: 13682 [annotate] [blame] [check-ins using] [diff]
03:59
Remove spaces and tabs at end of line. file: [f3d6211985] check-in: [7d7b89d775] user: js, branch: trunk, size: 13031 [annotate] [blame] [check-ins using] [diff]
2008-12-21
15:42
Initial UTF-8 support for OFString. file: [e908641783] check-in: [b4a4e95798] user: js, branch: trunk, size: 13032 [annotate] [blame] [check-ins using] [diff]
2008-12-19
23:15
Add errno in exceptions where it's useful. file: [e7cf625e34] check-in: [e668c03098] user: js, branch: trunk, size: 13045 [annotate] [blame] [check-ins using] [diff]
22:30
Better variable names for initialization of some exceptions. file: [4f1293951f] check-in: [5ad7e24b78] user: js, branch: trunk, size: 12199 [annotate] [blame] [check-ins using] [diff]
22:04
Add - setBlocking and - enableKeepAlives for OFTCPSocket. file: [494e5c908d] check-in: [2e6119eb42] user: js, branch: trunk, size: 12047 [annotate] [blame] [check-ins using] [diff]
2008-12-14
01:45
Two new exceptions; fix 3 FIXMEs in OFTCPSocket. file: [c079798d1b] check-in: [af9e349898] user: js, branch: trunk, size: 11825 [annotate] [blame] [check-ins using] [diff]
2008-12-13
23:11
Fix two more FIXMEs in OFTCPSocket; new exception. file: [9bfba73e23] check-in: [ec3c199d1a] user: js, branch: trunk, size: 10518 [annotate] [blame] [check-ins using] [diff]
15:08
One new exception; fix one FIXME in OFTCPSocket. file: [b6b180dc1e] check-in: [b5ea1b43c4] user: js, branch: trunk, size: 9389 [annotate] [blame] [check-ins using] [diff]
14:50
Add missing const for some return types; new exception. file: [78a34e9941] check-in: [46b770d066] user: js, branch: trunk, size: 8375 [annotate] [blame] [check-ins using] [diff]
2008-12-11
14:06
Fix two more FIXMEs in OFTCPSocket; new exception. file: [f063fde1b6] check-in: [85f7e202b1] user: js, branch: trunk, size: 7382 [annotate] [blame] [check-ins using] [diff]
13:53
Allow initialization without NItems for OFReadOrWriteFailedException. file: [bd5ad34ccf] check-in: [5168142abe] user: js, branch: trunk, size: 7169 [annotate] [blame] [check-ins using] [diff]
13:43
Remove - close from OFStream protocol.
The reason is that closing a file isn't too useful, because an OFFile
object can't be reused, whereas an OFTCPSocket can. So only the
OFTCPSocket should have closed. Plus, we don't need to handle the case
that someone tried to read from / write to a closed OFFile.
file: [7dd17fb763] check-in: [c83137e7cd] user: js, branch: trunk, size: 6563 [annotate] [blame] [check-ins using] [diff]
2008-12-10
20:53
Fix FIXMEs in OFString; new exception. file: [d80b50b5d0] check-in: [4f7378978c] user: js, branch: trunk, size: 6645 [annotate] [blame] [check-ins using] [diff]
18:00
Enhance exceptions; fix some FIXMEs in OFTCPSocket. file: [077a4ec303] check-in: [a01c94d9dd] user: js, branch: trunk, size: 6403 [annotate] [blame] [check-ins using] [diff]
2008-12-09
17:36
Don't use - raise anymore, but @throw.
- raise was only because at first, exceptions were self-raising, but
this was later changed so they had to be risen manually. - rise was
introduced for that, but it would've been better to use @throw
directly. Thus, this change now.
file: [c0dcb82286] check-in: [d88aec8e95] user: js, branch: trunk, size: 6143 [annotate] [blame] [check-ins using] [diff]
2008-11-30
15:17
Clean up imports. file: [60259d3ade] check-in: [4b8666fe15] user: js, branch: trunk, size: 6240 [annotate] [blame] [check-ins using] [diff]
2008-11-23
06:11
New string API, string class completely rewritten.
One class for all string types now.
file: [7c1fcb25b2] check-in: [bf02f0ef25] user: js, branch: trunk, size: 6259 [annotate] [blame] [check-ins using] [diff]
2008-11-07
14:29
Everything should be documented now. file: [9d8efd0a46] check-in: [e8e45975df] user: js, branch: trunk, size: 7136 [annotate] [blame] [check-ins using] [diff]
2008-11-06
16:06
Even more documentation. file: [af7a34fc33] check-in: [89c545c3e9] user: js, branch: trunk, size: 7128 [annotate] [blame] [check-ins using] [diff]
2008-11-05
20:30
More documentation stuff. file: [809bee699f] check-in: [b5e28fc975] user: js, branch: trunk, size: 3341 [annotate] [blame] [check-ins using] [diff]
16:11
OFOverflowException -> OFOutOfRangeException. file: [8fbc274411] check-in: [3577c0d81c] user: js, branch: trunk, size: 2116 [annotate] [blame] [check-ins using] [diff]
2008-10-30
00:49
Store initialization parameters of exceptions. file: [a8e30d777d] check-in: [ea3b6ef066] user: js, branch: trunk, size: 2114 [annotate] [blame] [check-ins using] [diff]
2008-10-26
20:54
Return self when we have no return value. This allows nesting. file: [039a0e8d07] check-in: [8ae4c59cd6] user: js, branch: trunk, size: 1801 [annotate] [blame] [check-ins using] [diff]
2008-10-08
23:15
Multiple changes, see details.

* OFObject getMem: renamd to getMemWithSize:.
* OFString compare: renamed to compareTo:.
* Exceptions don't throw itself anymore.
* Exceptions include an error string now.
* Exceptions now got raise and string.
* New methods for OFFile:
* changeModeOfFile:toMode:
* changeOwnerOfFile:toOwner:andGroup:
* delete:
* link:to:
* symlink:to:
* OFFile isEndOfFile renamd to atEndOfFile
* OFNotImplementedExeception newWithObject:andMethod renamed to
newWithObject:andSelector:.
* Tests updated accordingly.
* TODO list added. file: [03939ec239] check-in: [b597d49f43] user: js, branch: trunk, size: 1807 [annotate] [blame] [check-ins using] [diff]

2008-10-07
21:25
OFFile improvements. file: [8109e7dcaa] check-in: [6072f61f83] user: js, branch: trunk, size: 1690 [annotate] [blame] [check-ins using] [diff]
17:18
Added OFFile. file: [fce9b442b5] check-in: [71119a787b] user: js, branch: trunk, size: 1237 [annotate] [blame] [check-ins using] [diff]
2008-10-05
19:20
Reworked String API. file: [da96e169ec] check-in: [cf85bee74f] user: js, branch: trunk, size: 843 [annotate] [blame] [check-ins using] [diff]
2008-09-14
19:03
Added: More exceptions stuff. file: [03ab1df298] check-in: [98fe076bd8] user: js, branch: trunk, size: 679 [annotate] [blame] [check-ins using]