@@ -29,27 +29,31 @@ #ifdef OF_HAVE_PROPERTIES @property (readonly, retain, nonatomic) OFThread *thread; #endif /*! + * @brief Creates a new, autoreleased thread start failed exception. + * * @param class_ The class of the object which caused the exception * @param thread The thread which could not be started - * @return An initialized thread start failed exception + * @return A new, autoreleased thread start failed exception */ + (instancetype)exceptionWithClass: (Class)class_ thread: (OFThread*)thread; /*! - * Initializes an already allocated thread start failed exception. + * @brief Initializes an already allocated thread start failed exception. * * @param class_ The class of the object which caused the exception * @param thread The thread which could not be started * @return An initialized thread start failed exception */ - initWithClass: (Class)class_ thread: (OFThread*)thread; /*! + * @brief Returns the thread which could not be started. + * * @return The thread which could not be started */ - (OFThread*)thread; @end