summaryrefslogtreecommitdiff
path: root/qpid/cpp
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2008-04-10 13:00:04 +0000
committerAlan Conway <aconway@apache.org>2008-04-10 13:00:04 +0000
commitea03198aaa43785f104991fb5b30b86dcb05a122 (patch)
tree85e4543d3bdfc0c651005c4f66e426f1a8117780 /qpid/cpp
parentefd3e09ea939ee627d13e8f33b9b814caf23cd50 (diff)
downloadqpid-python-ea03198aaa43785f104991fb5b30b86dcb05a122.tar.gz
Use "Exception" instead of typeid.name() as default exception name.
Mangled type names are too confusing. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@646783 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp')
-rw-r--r--qpid/cpp/src/qpid/Exception.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/cpp/src/qpid/Exception.cpp b/qpid/cpp/src/qpid/Exception.cpp
index 5c6867a4f9..1c3636e8c6 100644
--- a/qpid/cpp/src/qpid/Exception.cpp
+++ b/qpid/cpp/src/qpid/Exception.cpp
@@ -39,7 +39,7 @@ Exception::Exception(const std::string& msg) throw() : message(msg) {
Exception::~Exception() throw() {}
-std::string Exception::getPrefix() const { return typeid(*this).name(); }
+std::string Exception::getPrefix() const { return "Exception"; }
const char* Exception::what() const throw() {
if (whatStr.empty())