summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/Exception.cpp
diff options
context:
space:
mode:
authorAndrew Stitcher <astitcher@apache.org>2008-07-30 06:29:16 +0000
committerAndrew Stitcher <astitcher@apache.org>2008-07-30 06:29:16 +0000
commitf1f80e7b3b1e17e663113382219d992680461063 (patch)
tree793644f4345437ed0c60ace0c5b7fdf07504e661 /cpp/src/qpid/Exception.cpp
parentab27cb344e9d2e1ea18c1c89cda65a02a7513e4b (diff)
downloadqpid-python-f1f80e7b3b1e17e663113382219d992680461063.tar.gz
Related to QPID-1198: Moved posix platform specific "strerror" code to
platform specific directory git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@680920 13f79535-47bb-0310-9956-ffa450edef68
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);
}