Commit 07a92167 authored by Robert Butora's avatar Robert Butora
Browse files

clears warnings about deprecated dynamic exception specifications

parent a642ebb0
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -543,7 +543,7 @@ void Client::resetConnection()
//      Client::encodeHeader()
//==============================================================================
void Client::encodeHeader(std::vector<boost::uint8_t>& buf, boost::uint32_t size)
    throw(std::runtime_error)
    /*throw(std::runtime_error)*/
{
    DEBUG_STREAM << "Client::encodeHeader()" << endl;

@@ -560,7 +560,7 @@ void Client::encodeHeader(std::vector<boost::uint8_t>& buf, boost::uint32_t size
//      Client::decodeHeader()
//==============================================================================
boost::uint32_t Client::decodeHeader(std::vector<boost::uint8_t>& buf)
    throw(std::runtime_error)
    /*throw(std::runtime_error)*/
{
    DEBUG_STREAM << "Client::decodeHeader()" << endl;

+2 −2
Original line number Diff line number Diff line
@@ -136,10 +136,10 @@ protected:
//  [Protected] Header encoding decoding 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
+8 −8
Original line number Diff line number Diff line
@@ -52,7 +52,7 @@ DBManager::SP DBManager::create(Tango::DeviceImpl* deviceImpl_p,
//==============================================================================
//      DBManager::connect()
//==============================================================================
void DBManager::connectAll() throw(soci::soci_error)
void DBManager::connectAll() /*throw(soci::soci_error)*/
{
    DEBUG_STREAM << "DBManager::connect()" << endl;

@@ -149,7 +149,7 @@ DBManager::TransactionSP DBManager::getAuxTransaction()
//      DBManager::retrieveLastTimestamp()
//==============================================================================
boost::posix_time::ptime DBManager::retrieveLastTimestamp()
    throw(soci::soci_error)
    /*throw(soci::soci_error)*/
{
    DEBUG_STREAM << "DBManager::retrieveLastTimestamp()" << endl;

@@ -173,7 +173,7 @@ boost::posix_time::ptime DBManager::retrieveLastTimestamp()
//      DBManager::persistLastTimestamp()
//==============================================================================
void DBManager::persistLastTimestamp(boost::posix_time::ptime ptime)
    throw(soci::soci_error)
    /*throw(soci::soci_error)*/
{
    DEBUG_STREAM << "DBManager::persistLastTimestamp()" << endl;

@@ -193,7 +193,7 @@ void DBManager::persistLastTimestamp(boost::posix_time::ptime ptime)
//      DBManager::retrieveNewFiles()
//==============================================================================
DBManager::FileRowsetSP DBManager::retrieveNewFiles(boost::posix_time::ptime ptime)
    throw(soci::soci_error)
    /*throw(soci::soci_error)*/
{
    DEBUG_STREAM << "DBManager::retrieveNewFiles()" << endl;

@@ -231,7 +231,7 @@ DBManager::FileRowsetSP DBManager::retrieveNewFiles(boost::posix_time::ptime pti
//      DBManager::updateNewFilePath()
//==============================================================================
void DBManager::updateNewFilePath(std::string storagePath, std::string filePath,
    int fileVersion, std::string fileName) throw(soci::soci_error)
    int fileVersion, std::string fileName) /*throw(soci::soci_error)*/
{
    DEBUG_STREAM << "DBManager::updateNewFilePath()" << endl;

@@ -252,7 +252,7 @@ void DBManager::updateNewFilePath(std::string storagePath, std::string filePath,
//      DBManager::addFailedFile()
//==============================================================================
void DBManager::addFailedFile(int fileVersion, std::string fileName)
    throw(soci::soci_error)
    /*throw(soci::soci_error)*/
{
    DEBUG_STREAM << "DBManager::addFailedFile()" << endl;

@@ -273,7 +273,7 @@ void DBManager::addFailedFile(int fileVersion, std::string fileName)
//      DBManager::removeFailedFile()
//==============================================================================
void DBManager::removeFailedFile(int fileVersion, std::string fileName)
    throw(soci::soci_error)
    /*throw(soci::soci_error)*/
{
    DEBUG_STREAM << "DBManager::removeFailedFile()" << endl;

@@ -293,7 +293,7 @@ void DBManager::removeFailedFile(int fileVersion, std::string fileName)
//      DBManager::retrieveFailedFiles()
//==============================================================================
DBManager::FileRowsetSP DBManager::retrieveFailedFiles()
    throw(soci::soci_error)
    /*throw(soci::soci_error)*/
{
    DEBUG_STREAM << "DBManager::retrieveFailedFiles()" << endl;

+8 −8
Original line number Diff line number Diff line
@@ -63,7 +63,7 @@ public:
//------------------------------------------------------------------------------
//  [Public] Connections handling methods
//------------------------------------------------------------------------------
    virtual void connectAll() throw(soci::soci_error);
    virtual void connectAll() /*throw(soci::soci_error)*/;

    virtual void disconnectAll();

@@ -80,10 +80,10 @@ public:
//  [Public] Timestamp methods
//------------------------------------------------------------------------------
    virtual boost::posix_time::ptime retrieveLastTimestamp()
        throw(soci::soci_error);
        /*throw(soci::soci_error)*/;

    virtual void persistLastTimestamp(boost::posix_time::ptime)
        throw(soci::soci_error);
        /*throw(soci::soci_error)*/;

//------------------------------------------------------------------------------
//  [Public] File row set definition
@@ -100,22 +100,22 @@ public:
//  [Public] New file method
//------------------------------------------------------------------------------
    virtual FileRowsetSP retrieveNewFiles(boost::posix_time::ptime)
        throw(soci::soci_error);
        /*throw(soci::soci_error)*/;

    virtual void updateNewFilePath(std::string, std::string, int, std::string)
        throw(soci::soci_error);
        /*throw(soci::soci_error)*/;

//------------------------------------------------------------------------------
//  [Public] Failed file methods
//------------------------------------------------------------------------------
    virtual void addFailedFile(int, std::string)
        throw(soci::soci_error);
        /*throw(soci::soci_error)*/;

    virtual void removeFailedFile(int, std::string)
        throw(soci::soci_error);
        /*throw(soci::soci_error)*/;

    virtual FileRowsetSP retrieveFailedFiles()
        throw(soci::soci_error);
        /*throw(soci::soci_error)*/;

protected:
//------------------------------------------------------------------------------
+2 −2
Original line number Diff line number Diff line
@@ -855,7 +855,7 @@ void DataImporter::decrementFailedCounter()
//      DataImporter::checkIfFileExists()
//==============================================================================
void DataImporter::checkIfFileExists(std::string fileName)
    throw(std::invalid_argument)
    /*throw(std::invalid_argument)*/
{
    DEBUG_STREAM << "DataImporter::checkIfFileExists()  - " << device_name << endl;

@@ -876,7 +876,7 @@ void DataImporter::checkIfFileExists(std::string fileName)
//      DataImporter::checkIfDirectoryExists()
//==============================================================================
void DataImporter::checkIfDirectoryExists(std::string directoryName)
    throw(std::invalid_argument)
    /*throw(std::invalid_argument)*/
{
    DEBUG_STREAM << "DataImporter::checkIfFileExists()  - " << device_name << endl;

Loading