diff options
Diffstat (limited to 'src/Common/RequestHandlers')
-rw-r--r-- | src/Common/RequestHandlers/DisconnectRequestHandler.cpp | 4 | ||||
-rw-r--r-- | src/Common/RequestHandlers/FSInfoRequestHandler.cpp | 6 | ||||
-rw-r--r-- | src/Common/RequestHandlers/StatusRequestHandler.cpp | 4 |
3 files changed, 7 insertions, 7 deletions
diff --git a/src/Common/RequestHandlers/DisconnectRequestHandler.cpp b/src/Common/RequestHandlers/DisconnectRequestHandler.cpp index 9204f43..fa2ad88 100644 --- a/src/Common/RequestHandlers/DisconnectRequestHandler.cpp +++ b/src/Common/RequestHandlers/DisconnectRequestHandler.cpp @@ -18,7 +18,7 @@ */ #include "DisconnectRequestHandler.h" -#include "../Exception.h" +#include <Net/Exception.h> #include "../Logger.h" namespace Mad { @@ -31,7 +31,7 @@ void DisconnectRequestHandler::handlePacket(const XmlPacket &packet) { XmlPacket ret; ret.setType("Error"); - ret.add("ErrorCode", Exception::UNEXPECTED_PACKET); + ret.add("ErrorCode", Net::Exception::UNEXPECTED_PACKET); sendPacket(ret); diff --git a/src/Common/RequestHandlers/FSInfoRequestHandler.cpp b/src/Common/RequestHandlers/FSInfoRequestHandler.cpp index 7421ad2..fc98730 100644 --- a/src/Common/RequestHandlers/FSInfoRequestHandler.cpp +++ b/src/Common/RequestHandlers/FSInfoRequestHandler.cpp @@ -18,7 +18,7 @@ */ #include "FSInfoRequestHandler.h" -#include "../Exception.h" +#include <Net/Exception.h> #include "../Logger.h" namespace Mad { @@ -31,7 +31,7 @@ void FSInfoRequestHandler::handlePacket(const XmlPacket &packet) { XmlPacket ret; ret.setType("Error"); - ret.add("ErrorCode", Exception::UNEXPECTED_PACKET); + ret.add("ErrorCode", Net::Exception::UNEXPECTED_PACKET); sendPacket(ret); @@ -44,7 +44,7 @@ void FSInfoRequestHandler::handlePacket(const XmlPacket &packet) { if(!SystemManager::get()->getFSInfo(sigc::mem_fun(this, &FSInfoRequestHandler::fsInfoHandler))) { XmlPacket ret; ret.setType("Error"); - ret.add("ErrorCode", Exception::NOT_IMPLEMENTED); + ret.add("ErrorCode", Net::Exception::NOT_IMPLEMENTED); sendPacket(ret); diff --git a/src/Common/RequestHandlers/StatusRequestHandler.cpp b/src/Common/RequestHandlers/StatusRequestHandler.cpp index 1464f71..0cfe025 100644 --- a/src/Common/RequestHandlers/StatusRequestHandler.cpp +++ b/src/Common/RequestHandlers/StatusRequestHandler.cpp @@ -18,7 +18,7 @@ */ #include "StatusRequestHandler.h" -#include "../Exception.h" +#include <Net/Exception.h> #include "../SystemBackend.h" #include "../Logger.h" @@ -32,7 +32,7 @@ void StatusRequestHandler::handlePacket(const XmlPacket &packet) { XmlPacket ret; ret.setType("Error"); - ret.add("ErrorCode", Exception::UNEXPECTED_PACKET); + ret.add("ErrorCode", Net::Exception::UNEXPECTED_PACKET); sendPacket(ret); |