@@ -16,10 +16,12 @@ #include "config.h" #define __NO_EXT_QNX +#include + #include #include #import "OFStreamObserver.h" @@ -43,11 +45,10 @@ #if defined(HAVE_SYS_SELECT_H) || defined(_WIN32) # import "OFStreamObserver_select.h" #endif #import "OFInitializationFailedException.h" -#import "OFNotImplementedException.h" #import "OFOutOfRangeException.h" #import "autorelease.h" #import "macros.h" @@ -263,30 +264,30 @@ #endif } - (void)OF_addFileDescriptorForReading: (int)fd { - @throw [OFNotImplementedException exceptionWithClass: [self class] - selector: _cmd]; + [self doesNotRecognizeSelector: _cmd]; + abort(); } - (void)OF_addFileDescriptorForWriting: (int)fd { - @throw [OFNotImplementedException exceptionWithClass: [self class] - selector: _cmd]; + [self doesNotRecognizeSelector: _cmd]; + abort(); } - (void)OF_removeFileDescriptorForReading: (int)fd { - @throw [OFNotImplementedException exceptionWithClass: [self class] - selector: _cmd]; + [self doesNotRecognizeSelector: _cmd]; + abort(); } - (void)OF_removeFileDescriptorForWriting: (int)fd { - @throw [OFNotImplementedException exceptionWithClass: [self class] - selector: _cmd]; + [self doesNotRecognizeSelector: _cmd]; + abort(); } - (void)OF_processQueue { [mutex lock]; @@ -361,12 +362,12 @@ [self observeWithTimeout: -1]; } - (BOOL)observeWithTimeout: (double)timeout { - @throw [OFNotImplementedException exceptionWithClass: [self class] - selector: _cmd]; + [self doesNotRecognizeSelector: _cmd]; + abort(); } - (void)cancel { #ifndef _WIN32