Skip to content
Snippets Groups Projects
Commit 6b910274 authored by Robert Butora's avatar Robert Butora
Browse files

clears warnings about deprecated dynamic exception specifications

parent 6c6a0965
No related branches found
No related tags found
No related merge requests found
......@@ -41,7 +41,7 @@ DBManager::SP DBManager::create(Tango::DeviceImpl* deviceImpl_p,
//==============================================================================
// DBManager::connect()
//==============================================================================
void DBManager::connect() throw(soci::soci_error)
void DBManager::connect() /*throw(soci::soci_error)*/
{
DEBUG_STREAM << "DBManager::connect()" << endl;
......@@ -93,7 +93,7 @@ void DBManager::disconnect()
//==============================================================================
DBManager::FileTuple DBManager::retrieveFileInfo(std::string schema,
std::string table, int version, std::string name)
throw(soci::soci_error)
/*throw(soci::soci_error)*/
{
DEBUG_STREAM << "DBManager::retrieveFileInfo()" << endl;
......
......@@ -57,7 +57,7 @@ public:
//------------------------------------------------------------------------------
// [Public] Connection management methods
//------------------------------------------------------------------------------
virtual void connect() throw(soci::soci_error);
virtual void connect() /*throw(soci::soci_error)*/;
virtual void disconnect();
......@@ -68,7 +68,7 @@ public:
boost::optional<std::string> > FileTuple;
virtual FileTuple retrieveFileInfo(std::string, std::string, int, std::string)
throw(soci::soci_error);
/*throw(soci::soci_error)*/;
protected:
//------------------------------------------------------------------------------
......
......@@ -602,7 +602,7 @@ void DataExporter::off()
//==============================================================================
void DataExporter::importExportedTables(std::vector<std::string>& exportedTables,
std::multimap<const std::string, const std::string>& exportedTablesMap)
throw(std::invalid_argument)
/*throw(std::invalid_argument)*/
{
DEBUG_STREAM << "DataExporter::importExportedTables() - " << device_name << endl;
......@@ -650,7 +650,7 @@ void DataExporter::importExportedTables(std::vector<std::string>& exportedTables
//==============================================================================
void DataExporter::importAuthorisedUsers(std::vector<std::string>& authorisedUsers,
std::map<const std::string, const std::string>& authorisedUsersMap)
throw(std::invalid_argument)
/*throw(std::invalid_argument)*/
{
DEBUG_STREAM << "DataExporter::importAuthorisedUsers() - " << device_name << endl;
......@@ -700,7 +700,7 @@ void DataExporter::importAuthorisedUsers(std::vector<std::string>& authorisedUse
// DataExporter::checkIfFileExists()
//==============================================================================
void DataExporter::checkIfFileExists(std::string fileName)
throw(std::invalid_argument)
/*throw(std::invalid_argument)*/
{
DEBUG_STREAM << "DataExporter::checkIfFileExists() - " << device_name << endl;
......
......@@ -217,14 +217,14 @@ public:
//------------------------------------------------------------------------------
virtual void importExportedTables(std::vector<std::string>&,
std::multimap<const std::string, const std::string>&)
throw(std::invalid_argument);
/*throw(std::invalid_argument)*/;
virtual void importAuthorisedUsers(std::vector<std::string>&,
std::map<const std::string, const std::string>&)
throw(std::invalid_argument);
/*throw(std::invalid_argument)*/;
virtual void checkIfFileExists(std::string)
throw(std::invalid_argument);
/*throw(std::invalid_argument)*/;
/*----- PROTECTED REGION END -----*/ // DataExporter::Additional Method prototypes
};
......
......@@ -51,7 +51,7 @@ void ProtocolManager::setRemoteEndpoint(std::string remoteEndpoint)
// ProtocolManager::prepareResponse()
//==============================================================================
ResponseSP ProtocolManager::prepareResponse(RequestSP request_sp)
throw(std::runtime_error)
/*throw(std::runtime_error)*/
{
DEBUG_STREAM << "ProtocolManager::prepareResponse()" << endl;
......@@ -174,7 +174,7 @@ bool ProtocolManager::isFileFound()
//==============================================================================
// ProtocolManager::getFileWrapper()
//==============================================================================
FileWrapper::SP ProtocolManager::getFileWrapper() throw(std::runtime_error)
FileWrapper::SP ProtocolManager::getFileWrapper() /*throw(std::runtime_error)*/
{
DEBUG_STREAM << "ProtocolManager::getFileWrapper()" << endl;
......
......@@ -60,14 +60,14 @@ public:
// [Public] Request response management method
//------------------------------------------------------------------------------
virtual ResponseSP prepareResponse(RequestSP)
throw(std::runtime_error);
/*throw(std::runtime_error)*/;
//------------------------------------------------------------------------------
// [Public] File transfer methods
//------------------------------------------------------------------------------
bool isFileFound();
FileWrapper::SP getFileWrapper() throw(std::runtime_error);
FileWrapper::SP getFileWrapper() /*throw(std::runtime_error)*/;
protected:
//------------------------------------------------------------------------------
......
......@@ -58,7 +58,7 @@ Server::~Server()
//==============================================================================
// Server::start()
//==============================================================================
void Server::start() throw(std::runtime_error)
void Server::start() /*throw(std::runtime_error)*/
{
DEBUG_STREAM << "Server::start()" << endl;
......@@ -105,7 +105,7 @@ void Server::start() throw(std::runtime_error)
//==============================================================================
// Server::stop()
//==============================================================================
void Server::stop() throw(std::runtime_error)
void Server::stop() /*throw(std::runtime_error)*/
{
DEBUG_STREAM << "Server::stop()" << endl;
......
......@@ -34,9 +34,9 @@ public:
//------------------------------------------------------------------------------
// [Public] Thread management methods
//------------------------------------------------------------------------------
virtual void start() throw(std::runtime_error);
virtual void start() /*throw(std::runtime_error)*/;
virtual void stop() throw(std::runtime_error);
virtual void stop() /*throw(std::runtime_error)*/;
//------------------------------------------------------------------------------
// [Public] Read state and status methods
......
......@@ -129,7 +129,7 @@ void Session::handleWriteData(FileWrapper::SP fileWrapper_sp,
// Session::encodeHeader()
//==============================================================================
void Session::encodeHeader(std::vector<boost::uint8_t>& buf, boost::uint32_t size)
throw(std::runtime_error)
/*throw(std::runtime_error)*/
{
DEBUG_STREAM << "Session::encodeHeader()" << endl;
......@@ -146,7 +146,7 @@ void Session::encodeHeader(std::vector<boost::uint8_t>& buf, boost::uint32_t siz
// Session::decodeHeader()
//==============================================================================
boost::uint32_t Session::decodeHeader(std::vector<boost::uint8_t>& buf)
throw(std::runtime_error)
/*throw(std::runtime_error)*/
{
DEBUG_STREAM << "Session::decodeHeader()" << endl;
......
......@@ -74,10 +74,10 @@ protected:
// [Protected] Encode decode header methods
//------------------------------------------------------------------------------
virtual void encodeHeader(std::vector<boost::uint8_t>&, boost::uint32_t)
throw(std::runtime_error);
/*throw(std::runtime_error)*/;
virtual boost::uint32_t decodeHeader(std::vector<boost::uint8_t>&)
throw(std::runtime_error);
/*throw(std::runtime_error)*/;
//------------------------------------------------------------------------------
// [Protected] Class variables
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment