Commit 8caa9740 by Alexander Wiebel

[FIX #412] removed deprecated dynamic exception specifications

parent 3660e97d
Pipeline #248 passed with stages
in 55 minutes 13 seconds
......@@ -1000,7 +1000,7 @@ public:
*
* \throw WOutOfBounds if the specified index is invalid
*/
ValueT& at( size_t row, size_t col ) throw( WOutOfBounds )
ValueT& at( size_t row, size_t col )
{
if( ( row >= Rows ) || ( col >= Cols ) )
{
......@@ -1023,7 +1023,7 @@ public:
*
* \throw WOutOfBounds if the specified index is invalid
*/
const ValueT& at( size_t row, size_t col ) const throw( WOutOfBounds )
const ValueT& at( size_t row, size_t col ) const
{
if( ( row >= Rows ) || ( col >= Cols ) )
{
......
......@@ -82,7 +82,7 @@ std::string WEEGChannelInfo::getLabel() const
return m_label;
}
WPosition WEEGChannelInfo::getPosition() const throw( WDHException )
WPosition WEEGChannelInfo::getPosition() const
{
if( m_hasPosition )
{
......
......@@ -78,7 +78,7 @@ public:
*
* \return position
*/
WPosition getPosition() const throw( WDHException );
WPosition getPosition() const;
protected:
private:
......
......@@ -40,7 +40,7 @@ WEEGPositionsLibrary::WEEGPositionsLibrary( const std::map< std::string, WPositi
}
}
WPosition WEEGPositionsLibrary::getPosition( std::string label ) const throw( WOutOfBounds )
WPosition WEEGPositionsLibrary::getPosition( std::string label ) const
{
std::map< std::string, WPosition >::const_iterator iter = m_positions.find( string_utils::toUpper( label ) );
......
......@@ -53,7 +53,7 @@ public:
* \param label label of the electrode
* \return position of the electrode
*/
WPosition getPosition( std::string label ) const throw( WOutOfBounds );
WPosition getPosition( std::string label ) const;
protected:
private:
......
......@@ -28,17 +28,17 @@
#include "../exceptions/WDHNoSuchFile.h"
#include "WReader.h"
WReader::WReader( std::string fname ) throw( WDHNoSuchFile )
WReader::WReader( std::string fname )
{
setFilename( fname ); // not in constructor list since fileExcsits check
}
void WReader::setFileName( std::string fname ) throw( WDHNoSuchFile )
void WReader::setFileName( std::string fname )
{
setFilename( fname );
}
void WReader::setFilename( std::string fname ) throw( WDHNoSuchFile )
void WReader::setFilename( std::string fname )
{
m_fname = fname;
if( !fileExists( m_fname ) )
......
......@@ -45,7 +45,7 @@ public:
* \param fname path to file which should be loaded
* \throws WDHNoSuchFile
*/
explicit WReader( std::string fname ) throw( WDHNoSuchFile );
explicit WReader( std::string fname );
/**
* Reset the file name and checks if it exists.
......@@ -54,7 +54,7 @@ public:
* \throws WDHNoSuchFile
* \deprecated use setFilename instead.
*/
OW_API_DEPRECATED void setFileName( std::string fname ) throw( WDHNoSuchFile );
OW_API_DEPRECATED void setFileName( std::string fname );
/**
* Reset the file name and checks if it exists.
......@@ -62,7 +62,7 @@ public:
* \param fname file name
* \throws WDHNoSuchFile
*/
void setFilename( std::string fname ) throw( WDHNoSuchFile );
void setFilename( std::string fname );
protected:
std::string m_fname; //!< Absolute path of the file to read from
......
......@@ -32,7 +32,7 @@
#include "WReaderEEG.h"
WReaderEEG::WReaderEEG( std::string fileName ) throw( WDHIOFailure )
WReaderEEG::WReaderEEG( std::string fileName )
: WReader( fileName )
{
}
......
......@@ -45,7 +45,7 @@ protected:
* \param fileName Path to be loaded
* \throw WDHIOFailure in case of an error
*/
explicit WReaderEEG( std::string fileName ) throw( WDHIOFailure );
explicit WReaderEEG( std::string fileName );
/**
* Load electrode positions from ELC file with same name
......
......@@ -55,7 +55,7 @@ WEEGEvent::WEEGEvent( double time,
osg::ref_ptr< WGEGroupNode > parentNode,
bool snapToDipole,
bool proofOfConcept,
boost::shared_ptr< WDataSetDipoles > dipoles ) throw( WOutOfBounds )
boost::shared_ptr< WDataSetDipoles > dipoles )
: m_time( time ),
m_parentNode( parentNode )
{
......
......@@ -65,7 +65,7 @@ public:
osg::ref_ptr< WGEGroupNode > parentNode,
bool snapToDipole,
bool proofOfConcept,
boost::shared_ptr< WDataSetDipoles > dipoles ) throw( WOutOfBounds );
boost::shared_ptr< WDataSetDipoles > dipoles );
/**
* Constructor for an empty event
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment