Author: aconway
Date: Thu Apr 10 06:00:04 2008
New Revision: 646783
URL: http://svn.apache.org/viewvc?rev=646783&view=rev
Log:
Use "Exception" instead of typeid.name() as default exception name.
Mangled type names are too confusing.
Modified:
incubator/qpid/trunk/qpid/cpp/src/qpid/Exception.cpp
Modified: incubator/qpid/trunk/qpid/cpp/src/qpid/Exception.cpp
URL:
http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/cpp/src/qpid/Exception.cpp?rev=646783&r1=646782&r2=646783&view=diff
==============================================================================
--- incubator/qpid/trunk/qpid/cpp/src/qpid/Exception.cpp (original)
+++ incubator/qpid/trunk/qpid/cpp/src/qpid/Exception.cpp Thu Apr 10 06:00:04
2008
@@ -39,7 +39,7 @@
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())