diff options
| author | Alan Conway <aconway@apache.org> | 2007-10-29 21:14:44 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2007-10-29 21:14:44 +0000 |
| commit | da6e2b9f62966ef7d0cb69f58ffe1365af98d676 (patch) | |
| tree | a46b84d820f2c26f6094f092e18a0937deb46ecf /cpp/src/qpid/Exception.h | |
| parent | 505c43651b302ecf773bff1fcf3d45f5a1aef682 (diff) | |
| download | qpid-python-da6e2b9f62966ef7d0cb69f58ffe1365af98d676.tar.gz | |
client/BlockingQueue.h, sys/ConcurrentQueue.h: merged to sys/BlockingQueue.h
- updated all users
qpid/Exception.h: Removed unimplemented clone() function.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@589857 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/Exception.h')
| -rw-r--r-- | cpp/src/qpid/Exception.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/cpp/src/qpid/Exception.h b/cpp/src/qpid/Exception.h index bf6c1fb872..4ca15b37fc 100644 --- a/cpp/src/qpid/Exception.h +++ b/cpp/src/qpid/Exception.h @@ -44,7 +44,6 @@ class Exception : public std::exception virtual ~Exception() throw(); virtual const char *what() const throw(); - virtual std::auto_ptr<Exception> clone() const throw(); virtual std::string str() const throw(); private: std::string msg; @@ -62,14 +61,6 @@ struct ConnectionException : public Exception { : Exception(message), code(code_) {} }; -/** Clone an exception. - * For qpid::Exception this calls the clone member function. - * For standard exceptions, uses the copy constructor. - * For unknown exception types creates a std::exception - * with the same what() string. - */ -std::auto_ptr<std::exception> clone(const std::exception&); - } // namespace qpid #endif /*!_Exception_*/ |
