[PATCH 11/15] Have Object subclasses NOT throw exceptions in destructors.

From:    qolyester@green-communications.fr
This commit is contained in:
Andreas Volz 2011-11-27 23:40:49 +01:00
parent d14c15246b
commit 2a1e2dbe51
4 changed files with 20 additions and 12 deletions

View file

@ -140,7 +140,7 @@ public:
* \param rule Textual form of match rule.
* \throw Error
*/
void remove_match( const char* rule );
void remove_match( const char* rule, bool throw_on_error );
/*!
* \brief Adds a message filter.

View file

@ -60,7 +60,7 @@ private:
DXXAPILOCAL virtual bool handle_message(const Message &) = 0;
DXXAPILOCAL virtual void register_obj() = 0;
DXXAPILOCAL virtual void unregister_obj() = 0;
DXXAPILOCAL virtual void unregister_obj(bool throw_on_error = true) = 0;
private:
@ -168,7 +168,7 @@ private:
bool handle_message(const Message &);
void register_obj();
void unregister_obj();
void unregister_obj(bool throw_on_error = true);
typedef std::map<const Tag *, Continuation *> ContinuationMap;
ContinuationMap _continuations;
@ -217,7 +217,7 @@ private:
bool handle_message(const Message &);
void register_obj();
void unregister_obj();
void unregister_obj(bool throw_on_error = true);
private: