ObjFW  History of src/exceptions/OFOpenFileFailedException.h of 314d4930d3860fb9

History of file src/exceptions/OFOpenFileFailedException.h at check-in 314d4930d3860fb9

2015-04-11
11:01
Deleted: OFOpenFileFailedException: Rename File -> Item check-in: [ff17b98ab2] user: js, branch: trunk, size: 0
2015-02-16
08:39
Explicitly pass errno to exceptions

The old behaviour where the exception would access errno directly on
creation of the exception was very fragile. The two main problems with
it were that sometimes it would pick up an errno even though none had
been set and in other cases that when the exception was created errno
had already been overridden.

This also greatly increases errno handling on Win32, especially in
conjunction with sockets. It can still be improved further, though. file: [ac17edec1a] check-in: [62e2de30b9] user: js, branch: trunk, size: 3057 [annotate] [blame] [check-ins using] [diff]

2015-01-03
20:57
Update copyright file: [af8167010b] check-in: [cfd374b906] user: js, branch: trunk, size: 2243 [annotate] [blame] [check-ins using] [diff]
2014-02-18
18:50
Documentation: Show correct imports file: [ef70ae07a4] check-in: [246cfe0807] user: js, branch: trunk, size: 2237 [annotate] [blame] [check-ins using] [diff]
2014-01-04
00:24
Update copyright. file: [7c949dbe9f] check-in: [3b97fc3cd9] user: js, branch: trunk, size: 2129 [annotate] [blame] [check-ins using] [diff]
2013-11-20
22:06
Make exception properties atomic. file: [9e3ed1e892] check-in: [85e8ccc3a5] user: js, branch: trunk, size: 2123 [annotate] [blame] [check-ins using] [diff]
2013-06-28
18:43
Include errno in headers for exceptions using it. file: [b868a55f08] check-in: [3d6917fe0b] user: js, branch: trunk, size: 2134 [annotate] [blame] [check-ins using] [diff]
2013-06-22
12:12
Rework exceptions.

This mostly removes the argument for the class in which the exception
occurred. As backtraces were recently added for all platforms, the
passed class does not give any extra information on where the exception
occurred anymore.

This also removes a few other arguments which were not too helpful. In
the past, the idea was to pass as many arguments as possible so that it
is easier to find the origin of the exception. However, as backtraces
are a much better way to find the origin, those are not useful anymore
and just make the exception more cumbersome to use. The rule is now to
only pass arguments that might help in recovering from the exception or
provide information that is otherwise not easily accessible. file: [73e116f3c1] check-in: [3d16a30f41] user: js, branch: trunk, size: 2114 [annotate] [blame] [check-ins using] [diff]

2013-02-12
18:22
Prefix all ivars with an underscore. file: [5b0e6f089a] check-in: [e40729d406] user: js, branch: trunk, size: 2307 [annotate] [blame] [check-ins using] [diff]
2013-01-09
22:24
Update copyright. file: [dd2d7a6ac4] check-in: [813c00ccf0] user: js, branch: trunk, size: 2361 [annotate] [blame] [check-ins using] [diff]
2012-10-29
08:00
Documentation improvements. file: [e8f32aea07] check-in: [7a3977d7fd] user: js, branch: 0.7, size: 2355 [annotate] [blame] [check-ins using] [diff]
07:59
Documentation improvements. file: [ed13e90553] check-in: [63bf4de97b] user: js, branch: trunk, size: 2355 [annotate] [blame] [check-ins using] [diff]
2012-10-28
12:38
Switch to a headerdoc-compatible doc format. file: [8fc382f4be] check-in: [1ad9565253] user: js, branch: trunk, size: 2023 [annotate] [blame] [check-ins using] [diff]
2012-10-09
15:07
Make use of instancetype. file: [bbb3cac915] check-in: [fb515e8e24] user: js, branch: trunk, size: 2023 [annotate] [blame] [check-ins using] [diff]
2012-10-02
11:00
Clean up properties in exceptions. file: [1e05aad332] check-in: [c7adbcf399] user: js, branch: trunk, size: 1995 [annotate] [blame] [check-ins using] [diff]
2012-02-01
13:42
Clean up the properties mess. file: [c2f358c5e1] check-in: [c1b35e1495] user: js, branch: trunk, size: 1977 [annotate] [blame] [check-ins using] [diff]
2012-01-05
00:56
Update copyright. file: [bff05d0b50] check-in: [ce70e17b38] user: js, branch: trunk, size: 1983 [annotate] [blame] [check-ins using] [diff]
2011-09-22
23:25
Exceptions are now autoreleased.

This is safe as an "exception loop" can't happen, since if allocating
an exception fails, it throws an OFAllocFailedException which is
preallocated and can always be thrown.

So, the worst case would be that an autorelease of an exception fails,
triggering an OFOutOfMemoryException for which there is no memory,
resulting in an OFAllocFailedException to be thrown. file: [97b9695ecb] check-in: [e1e7ffa903] user: js, branch: trunk, size: 1977 [annotate] [blame] [check-ins using] [diff]

2011-03-24
16:09
Added: Split OFExceptions.{h,m} into one file per exception. file: [44994cd303] check-in: [e1eea29286] user: js, branch: trunk, size: 1973 [annotate] [blame] [check-ins using]