[PATCH 11/15] Have Object subclasses NOT throw exceptions in destructors.
From: qolyester@green-communications.fr
This commit is contained in:
parent
d14c15246b
commit
2a1e2dbe51
4 changed files with 20 additions and 12 deletions
|
@ -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.
|
||||
|
|
|
@ -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:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue