@@ -326,10 +326,11 @@ * \brief An exception indicating a read or write to a stream failed. */ @interface OFReadOrWriteFailedException: OFException { size_t requestedSize; +@public int errNo; } #ifdef OF_HAVE_PROPERTIES @property (readonly) size_t requestedSize; @@ -1040,46 +1041,40 @@ */ @interface OFBindFailedException: OFException { OFString *node; OFString *service; - int family; int errNo; } #ifdef OF_HAVE_PROPERTIES @property (readonly, nonatomic) OFString *node; @property (readonly, nonatomic) OFString *service; -@property (readonly) int family; @property (readonly) int errNo; #endif /** * \param class_ The class of the object which caused the exception * \param node The node on which binding failed * \param service The service on which binding failed - * \param family The family for which binnding failed * \return A new bind failed exception */ + newWithClass: (Class)class_ node: (OFString*)node - service: (OFString*)service - family: (int)family; + service: (OFString*)service; /** * Initializes an already allocated bind failed exception. * * \param class_ The class of the object which caused the exception * \param node The node on which binding failed * \param service The service on which binding failed - * \param family The family for which binnding failed * \return An initialized bind failed exception */ - initWithClass: (Class)class_ node: (OFString*)node - service: (OFString*)service - family: (int)family; + service: (OFString*)service; /** * \return The errno from when the exception was created */ - (int)errNo; @@ -1091,15 +1086,10 @@ /** * \return The service on which binding failed */ - (OFString*)service; - -/** - * \return The family for which binding failed - */ -- (int)family; @end /** * \brief An exception indicating that listening on the socket failed. */