summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/Exception.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/qpid/Exception.cpp')
-rw-r--r--cpp/src/qpid/Exception.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/cpp/src/qpid/Exception.cpp b/cpp/src/qpid/Exception.cpp
index 28c9d3742b..9e884efec0 100644
--- a/cpp/src/qpid/Exception.cpp
+++ b/cpp/src/qpid/Exception.cpp
@@ -22,17 +22,11 @@
#include "qpid/log/Statement.h"
#include "Exception.h"
#include <typeinfo>
-#include <errno.h>
#include <assert.h>
#include <string.h>
namespace qpid {
-std::string strError(int err) {
- char buf[512];
- return std::string(strerror_r(err, buf, sizeof(buf)));
-}
-
Exception::Exception(const std::string& msg) throw() : message(msg) {
QPID_LOG(debug, "Exception constructed: " << message);
}