Commit 8caa9740 authored by Alexander Wiebel's avatar Alexander Wiebel

[FIX #412] removed deprecated dynamic exception specifications

parent 3660e97d
...@@ -1000,7 +1000,7 @@ public: ...@@ -1000,7 +1000,7 @@ public:
* *
* \throw WOutOfBounds if the specified index is invalid * \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 ) ) if( ( row >= Rows ) || ( col >= Cols ) )
{ {
...@@ -1023,7 +1023,7 @@ public: ...@@ -1023,7 +1023,7 @@ public:
* *
* \throw WOutOfBounds if the specified index is invalid * \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 ) ) if( ( row >= Rows ) || ( col >= Cols ) )
{ {
......
...@@ -82,7 +82,7 @@ std::string WEEGChannelInfo::getLabel() const ...@@ -82,7 +82,7 @@ std::string WEEGChannelInfo::getLabel() const
return m_label; return m_label;
} }
WPosition WEEGChannelInfo::getPosition() const throw( WDHException ) WPosition WEEGChannelInfo::getPosition() const
{ {
if( m_hasPosition ) if( m_hasPosition )
{ {
......
...@@ -78,7 +78,7 @@ public: ...@@ -78,7 +78,7 @@ public:
* *
* \return position * \return position
*/ */
WPosition getPosition() const throw( WDHException ); WPosition getPosition() const;
protected: protected:
private: private:
......
...@@ -40,7 +40,7 @@ WEEGPositionsLibrary::WEEGPositionsLibrary( const std::map< std::string, WPositi ...@@ -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 ) ); std::map< std::string, WPosition >::const_iterator iter = m_positions.find( string_utils::toUpper( label ) );
......
...@@ -53,7 +53,7 @@ public: ...@@ -53,7 +53,7 @@ public:
* \param label label of the electrode * \param label label of the electrode
* \return position of the electrode * \return position of the electrode
*/ */
WPosition getPosition( std::string label ) const throw( WOutOfBounds ); WPosition getPosition( std::string label ) const;
protected: protected:
private: private:
......
...@@ -28,17 +28,17 @@ ...@@ -28,17 +28,17 @@
#include "../exceptions/WDHNoSuchFile.h" #include "../exceptions/WDHNoSuchFile.h"
#include "WReader.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 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 ); setFilename( fname );
} }
void WReader::setFilename( std::string fname ) throw( WDHNoSuchFile ) void WReader::setFilename( std::string fname )
{ {
m_fname = fname; m_fname = fname;
if( !fileExists( m_fname ) ) if( !fileExists( m_fname ) )
......
...@@ -45,7 +45,7 @@ public: ...@@ -45,7 +45,7 @@ public:
* \param fname path to file which should be loaded * \param fname path to file which should be loaded
* \throws WDHNoSuchFile * \throws WDHNoSuchFile
*/ */
explicit WReader( std::string fname ) throw( WDHNoSuchFile ); explicit WReader( std::string fname );
/** /**
* Reset the file name and checks if it exists. * Reset the file name and checks if it exists.
...@@ -54,7 +54,7 @@ public: ...@@ -54,7 +54,7 @@ public:
* \throws WDHNoSuchFile * \throws WDHNoSuchFile
* \deprecated use setFilename instead. * \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. * Reset the file name and checks if it exists.
...@@ -62,7 +62,7 @@ public: ...@@ -62,7 +62,7 @@ public:
* \param fname file name * \param fname file name
* \throws WDHNoSuchFile * \throws WDHNoSuchFile
*/ */
void setFilename( std::string fname ) throw( WDHNoSuchFile ); void setFilename( std::string fname );
protected: protected:
std::string m_fname; //!< Absolute path of the file to read from std::string m_fname; //!< Absolute path of the file to read from
......
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
#include "WReaderEEG.h" #include "WReaderEEG.h"
WReaderEEG::WReaderEEG( std::string fileName ) throw( WDHIOFailure ) WReaderEEG::WReaderEEG( std::string fileName )
: WReader( fileName ) : WReader( fileName )
{ {
} }
......
...@@ -45,7 +45,7 @@ protected: ...@@ -45,7 +45,7 @@ protected:
* \param fileName Path to be loaded * \param fileName Path to be loaded
* \throw WDHIOFailure in case of an error * \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 * Load electrode positions from ELC file with same name
......
...@@ -55,7 +55,7 @@ WEEGEvent::WEEGEvent( double time, ...@@ -55,7 +55,7 @@ WEEGEvent::WEEGEvent( double time,
osg::ref_ptr< WGEGroupNode > parentNode, osg::ref_ptr< WGEGroupNode > parentNode,
bool snapToDipole, bool snapToDipole,
bool proofOfConcept, bool proofOfConcept,
boost::shared_ptr< WDataSetDipoles > dipoles ) throw( WOutOfBounds ) boost::shared_ptr< WDataSetDipoles > dipoles )
: m_time( time ), : m_time( time ),
m_parentNode( parentNode ) m_parentNode( parentNode )
{ {
......
...@@ -65,7 +65,7 @@ public: ...@@ -65,7 +65,7 @@ public:
osg::ref_ptr< WGEGroupNode > parentNode, osg::ref_ptr< WGEGroupNode > parentNode,
bool snapToDipole, bool snapToDipole,
bool proofOfConcept, bool proofOfConcept,
boost::shared_ptr< WDataSetDipoles > dipoles ) throw( WOutOfBounds ); boost::shared_ptr< WDataSetDipoles > dipoles );
/** /**
* Constructor for an empty event * 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