{
public:
/** @param w Error message */
- StringError (std::string w) {
- _what = w;
- }
+ StringError (std::string w)
+ : _what (w)
+ {}
virtual ~StringError () throw () {}
}
}
-protected:
-
+protected:
+
void store_current () {
boost::mutex::scoped_lock lm (_mutex);
_exception = boost::current_exception ();