Differences From Artifact [916c8267e0]:
- File
src/exceptions/OFNotConnectedException.m
— part of check-in
[8d2a5052fd]
at
2014-01-25 17:39:13
on branch trunk
— 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). (user: js, size: 1228) [annotate] [blame] [check-ins using]
To Artifact [32f81be35f]:
- File
src/exceptions/OFNotConnectedException.m
— part of check-in
[13ee56edf3]
at
2014-06-21 21:43:43
on branch trunk
— Move all macros from OFObject.h to macros.h
This means that OFObject.h imports macros.h now, making it unnecessary
to manually import macros.h in almost every file. And while at it, also
import autorelease.h in OFObject.h, so that this doesn't need to be
manually imported in almost every file as well. (user: js, size: 1209) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
16 17 18 19 20 21 22 | #include "config.h" #import "OFNotConnectedException.h" #import "OFString.h" #import "common.h" | < | 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | #include "config.h" #import "OFNotConnectedException.h" #import "OFString.h" #import "common.h" @implementation OFNotConnectedException + (instancetype)exceptionWithSocket: (id)socket { return [[[self alloc] initWithSocket: socket] autorelease]; } |
︙ | ︙ |