summaryrefslogtreecommitdiff
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
commite884ddfa94e3fdc69aa0054f75b0afd442aebb6f (patch)
tree49803a730949cebc597e0021a10b8f4c1c962d80
parent599ff4a59af78af75639a05a3e87a29f81a29e2b (diff)
downloadqpid-python-e884ddfa94e3fdc69aa0054f75b0afd442aebb6f.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/qpid@646783 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--cpp/src/qpid/Exception.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/Exception.cpp b/cpp/src/qpid/Exception.cpp
index 5c6867a4f9..1c3636e8c6 100644
--- a/cpp/src/qpid/Exception.cpp
+++ b/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())