moved exception definition to header file.

This commit is contained in:
crs 2002-07-30 18:31:21 +00:00
parent 69496abbab
commit da361e9686
2 changed files with 6 additions and 3 deletions

View File

@ -24,9 +24,6 @@
#endif #endif
// FIXME -- temporary exception type
class XThreadUnavailable { };
// //
// CThreadRep // CThreadRep
// //

View File

@ -27,6 +27,12 @@ must rethrow it if caught (by XThreadCancel, XThread, or ...).
*/ */
class XThreadCancel : public XThread { }; class XThreadCancel : public XThread { };
//! Thread creation exception
/*!
Thrown when a thread cannot be created.
*/
class XThreadUnavailable { };
/*! /*!
\def RETHROW_XTHREAD \def RETHROW_XTHREAD
Convenience macro to rethrow an XThread exception but ignore other Convenience macro to rethrow an XThread exception but ignore other