Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r58317 - sandbox/fiber/boost/fiber
From: oliver.kowalke_at_[hidden]
Date: 2009-12-12 05:02:48


Author: olli
Date: 2009-12-12 05:02:47 EST (Sat, 12 Dec 2009)
New Revision: 58317
URL: http://svn.boost.org/trac/boost/changeset/58317

Log:
added

Text files modified:
   sandbox/fiber/boost/fiber/exceptions.hpp | 54 ++++++++++++++++++++++++++++++++++++++++
   1 files changed, 54 insertions(+), 0 deletions(-)

Modified: sandbox/fiber/boost/fiber/exceptions.hpp
==============================================================================
--- sandbox/fiber/boost/fiber/exceptions.hpp (original)
+++ sandbox/fiber/boost/fiber/exceptions.hpp 2009-12-12 05:02:47 EST (Sat, 12 Dec 2009)
@@ -60,6 +60,60 @@
         {}
 };
 
+class future_uninitialized:
+ public std::logic_error
+{
+public:
+ future_uninitialized():
+ std::logic_error("Future Uninitialized")
+ {}
+};
+
+class broken_promise:
+ public std::logic_error
+{
+public:
+ broken_promise():
+ std::logic_error("Broken promise")
+ {}
+};
+
+class future_already_retrieved:
+ public std::logic_error
+{
+public:
+ future_already_retrieved():
+ std::logic_error("Future already retrieved")
+ {}
+};
+
+class promise_already_satisfied:
+ public std::logic_error
+{
+public:
+ promise_already_satisfied():
+ std::logic_error("Promise already satisfied")
+ {}
+};
+
+class task_already_started:
+ public std::logic_error
+{
+public:
+ task_already_started():
+ std::logic_error("Task already started")
+ {}
+};
+
+class task_moved:
+ public std::logic_error
+{
+public:
+ task_moved():
+ std::logic_error("Task moved")
+ {}
+};
+
 }}
 
 #include <boost/config/abi_suffix.hpp>


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk