projects
/
anna.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove dynamic exceptions
[anna.git]
/
source
/
diameter.comm
/
ClassCode.cpp
diff --git
a/source/diameter.comm/ClassCode.cpp
b/source/diameter.comm/ClassCode.cpp
index
0c8cfc0
..
6f75663
100644
(file)
--- a/
source/diameter.comm/ClassCode.cpp
+++ b/
source/diameter.comm/ClassCode.cpp
@@
-12,15
+12,15
@@
using namespace std;
//string anna::diameter::comm::ClassCode::asString(const ClassCode::_v v)
using namespace std;
//string anna::diameter::comm::ClassCode::asString(const ClassCode::_v v)
-//
throw()
{
+//{
// static const char* text [] = { "Undefined", "Bind", "ApplicationMessage" };
// string result("ClassCode: ");
// static const char* text [] = { "Undefined", "Bind", "ApplicationMessage" };
// string result("ClassCode: ");
-// return result += (v >= Min && v < Max) ? text [v] : "
<null>
";
+// return result += (v >= Min && v < Max) ? text [v] : "
[null]
";
//}
string anna::diameter::comm::ClassCode::asText(const ClassCode::_v v)
//}
string anna::diameter::comm::ClassCode::asText(const ClassCode::_v v)
-
throw()
{
+{
static const char* text [] = { "Undefined", "Bind", "ApplicationMessage" };
static const char* text [] = { "Undefined", "Bind", "ApplicationMessage" };
- return string((v >= Min && v < Max) ? text [v] : "
<null>
");
+ return string((v >= Min && v < Max) ? text [v] : "
[null]
");
}
}