From e884ddfa94e3fdc69aa0054f75b0afd442aebb6f Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Thu, 10 Apr 2008 13:00:04 +0000 Subject: 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 --- cpp/src/qpid/Exception.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()) -- cgit v1.2.1