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
/
comm
/
handler
/
ClientSocket.cpp
diff --git
a/source/comm/handler/ClientSocket.cpp
b/source/comm/handler/ClientSocket.cpp
index
34b2b34
..
d2f7aae
100644
(file)
--- a/
source/comm/handler/ClientSocket.cpp
+++ b/
source/comm/handler/ClientSocket.cpp
@@
-24,7
+24,7
@@
using namespace std;
using namespace anna;
void comm::handler::ClientSocket::initialize()
using namespace anna;
void comm::handler::ClientSocket::initialize()
-
throw(RuntimeException
) {
+
noexcept(false
) {
if(a_clientSocket == NULL) {
string msg(asString());
msg += " | comm::ClientSocket was not established";
if(a_clientSocket == NULL) {
string msg(asString());
msg += " | comm::ClientSocket was not established";
@@
-43,7
+43,7
@@
throw(RuntimeException) {
* [Tx] -> Communicator
*/
void comm::handler::ClientSocket::finalize()
* [Tx] -> Communicator
*/
void comm::handler::ClientSocket::finalize()
-
throw()
{
+{
if(a_clientSocket == NULL)
return;
if(a_clientSocket == NULL)
return;
@@
-58,7
+58,7
@@
throw() {
}
void comm::handler::ClientSocket::clone()
}
void comm::handler::ClientSocket::clone()
-
throw(RuntimeException
) {
+
noexcept(false
) {
if(a_clientSocket->isConnected() == true)
a_clientSocket->close();
if(a_clientSocket->isConnected() == true)
a_clientSocket->close();
@@
-76,7
+76,7
@@
throw(RuntimeException) {
}
string comm::handler::ClientSocket::asString() const
}
string comm::handler::ClientSocket::asString() const
-
throw()
{
+{
string result("comm::handler::ClientSocket { ");
result += comm::Handler::asString();
result += " | ";
string result("comm::handler::ClientSocket { ");
result += comm::Handler::asString();
result += " | ";
@@
-85,7
+85,7
@@
throw() {
}
xml::Node* comm::handler::ClientSocket::asXML(xml::Node* parent) const
}
xml::Node* comm::handler::ClientSocket::asXML(xml::Node* parent) const
-
throw()
{
+{
xml::Node* result = parent->createChild("comm.handler.ClientSocket");
comm::Handler::asAttribute(result);
xml::Node* result = parent->createChild("comm.handler.ClientSocket");
comm::Handler::asAttribute(result);