ObjFW  Check-in [8d2a5052fd]

Overview
Comment:Generalize stream / socket related exceptions

This is in preparation for adding UDP sockets, as UDP sockets and TCP
sockets have no common superclass, as one is stream-oriented while the
other is packet-oriented.

Read and write exceptions are for any object now, as they are useful for
a lot more than just for streams, while the others (bind, listen, etc.)
are for any socket now (the type is id in this case, though, as there is
no common superclass).

Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 8d2a5052fd321c0cadadefc184eae1057df37f7945902eb63ad7ad622034d208
User & Date: js on 2014-01-25 17:39:13
Other Links: manifest | tags
Context
2014-01-25
19:33
Move socket includes and helpers to separate files check-in: 81d47f4398 user: js tags: trunk
17:39
Generalize stream / socket related exceptions check-in: 8d2a5052fd user: js tags: trunk
2014-01-23
03:37
PLATFORMS.md: Add MIPS64 to OpenBSD check-in: 03e2ccf1e4 user: js tags: trunk
Changes

Modified src/OFDeflateStream.m from [57e457dcdc] to [f380a0e937].    [diff]

Modified src/OFFile.m from [71494b29e0] to [79751d7dbc].    [diff]

Modified src/OFHTTPClient.m from [c52721c175] to [3007afbd2c].    [diff]

Modified src/OFProcess.m from [8b087c9ef5] to [754335c8dd].    [diff]

Modified src/OFStdIOStream.m from [8f40232493] to [5073a1b1d8].    [diff]

Modified src/OFStreamSocket.m from [42d45e3daf] to [5b827e504d].    [diff]

Modified src/OFZIPArchive.m from [9442194f09] to [85d6f8f249].    [diff]

Modified src/exceptions/OFAddressTranslationFailedException.h from [9113e61311] to [7cb02c2c3b].    [diff]

Modified src/exceptions/OFAddressTranslationFailedException.m from [c1844d2c7e] to [9b225aa65d].    [diff]

Modified src/exceptions/OFBindFailedException.h from [0d8b00fa8e] to [e51e2f0116].    [diff]

Modified src/exceptions/OFBindFailedException.m from [fd6546c3c3] to [7ed64ab589].    [diff]

Modified src/exceptions/OFListenFailedException.h from [e45067b3a1] to [ab3ab8d43b].    [diff]

Modified src/exceptions/OFListenFailedException.m from [55d0f6fc06] to [b2b7b98b39].    [diff]

Modified src/exceptions/OFNotConnectedException.h from [4d081e6530] to [913bbdc96f].    [diff]

Modified src/exceptions/OFNotConnectedException.m from [630fdbfb50] to [916c8267e0].    [diff]

Modified src/exceptions/OFReadFailedException.h from [46fdd760d4] to [9d61550da4].    [diff]

Modified src/exceptions/OFReadFailedException.m from [dfa0e4d747] to [47786b607d].    [diff]

Modified src/exceptions/OFReadOrWriteFailedException.h from [efb2743042] to [1abbcc8757].    [diff]

Modified src/exceptions/OFReadOrWriteFailedException.m from [fa0e710750] to [d342160908].    [diff]

Modified src/exceptions/OFWriteFailedException.h from [ff3d60b170] to [be49e51e6a].    [diff]

Modified src/exceptions/OFWriteFailedException.m from [ee35e3bb2f] to [49b4f5d815].    [diff]