@@ -166,10 +166,12 @@ * * If there is an @ref observe call blocking, it will be canceled. The reason * for this is to prevent blocking even though the newly added object is ready. * * @param object The object to observe for reading + * @throw OFObserveKernelEventsFailedException Adding the object for observing + * failed */ - (void)addObjectForReading: (id )object; /** * @brief Adds an object to observe for writing. @@ -176,10 +178,12 @@ * * If there is an @ref observe call blocking, it will be canceled. The reason * for this is to prevent blocking even though the newly added object is ready. * * @param object The object to observe for writing + * @throw OFObserveKernelEventsFailedException Adding the object for observing + * failed */ - (void)addObjectForWriting: (id )object; /** * @brief Removes an object to observe for reading. @@ -186,10 +190,12 @@ * * If there is an @ref observe call blocking, it will be canceled. The reason * for this is to prevent the removed object from still being observed. * * @param object The object to remove from observing for reading + * @throw OFObserveKernelEventsFailedException Removing the object for observing + * failed */ - (void)removeObjectForReading: (id )object; /** * @brief Removes an object to observe for writing. @@ -196,31 +202,37 @@ * * If there is an @ref observe call blocking, it will be canceled. The reason * for this is to prevent the removed object from still being observed. * * @param object The object to remove from observing for writing + * @throw OFObserveKernelEventsFailedException Removing the object for observing + * failed */ - (void)removeObjectForWriting: (id )object; /** * @brief Observes all objects and blocks until an event happens on an object. + * + * @throw OFObserveKernelEventsFailedException Observing for kernel events failed */ - (void)observe; /** * @brief Observes all objects until an event happens on an object or the * timeout is reached. * * @param timeInterval The time to wait for an event, in seconds + * @throw OFObserveKernelEventsFailedException Observing for kernel events failed */ - (void)observeForTimeInterval: (OFTimeInterval)timeInterval; /** * @brief Observes all objects until an event happens on an object or the * specified date is reached. * * @param date The until which to observe + * @throw OFObserveKernelEventsFailedException Observing for kernel events failed */ - (void)observeUntilDate: (OFDate *)date; /** * @brief Cancels the currently blocking observe call.