diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-02-25 21:31:58 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-02-26 18:22:20 +0100 |
commit | 5e21a413c788f839a66d9e4c14e745ed18058db8 (patch) | |
tree | d4451246461346a425ad6f796e08bf1514cdd942 /xmlhelp/source/cxxhelp/provider/urlparameter.cxx | |
parent | 6fc2bd0094a23aafadeef3f4a8c2803d621a588d (diff) |
cppuhelper: retrofit std::exception into overriding exception specs
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
Diffstat (limited to 'xmlhelp/source/cxxhelp/provider/urlparameter.cxx')
-rw-r--r-- | xmlhelp/source/cxxhelp/provider/urlparameter.cxx | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/xmlhelp/source/cxxhelp/provider/urlparameter.cxx b/xmlhelp/source/cxxhelp/provider/urlparameter.cxx index 5a73ba1f6a6d..ac827c1360aa 100644 --- a/xmlhelp/source/cxxhelp/provider/urlparameter.cxx +++ b/xmlhelp/source/cxxhelp/provider/urlparameter.cxx @@ -331,7 +331,7 @@ public: ~InputStreamTransformer(); - virtual Any SAL_CALL queryInterface( const Type& rType ) throw( RuntimeException ); + virtual Any SAL_CALL queryInterface( const Type& rType ) throw( RuntimeException, std::exception ); virtual void SAL_CALL acquire( void ) throw(); virtual void SAL_CALL release( void ) throw(); @@ -339,34 +339,34 @@ public: throw( NotConnectedException, BufferSizeExceededException, IOException, - RuntimeException); + RuntimeException, std::exception); virtual sal_Int32 SAL_CALL readSomeBytes( Sequence< sal_Int8 >& aData,sal_Int32 nMaxBytesToRead ) throw( NotConnectedException, BufferSizeExceededException, IOException, - RuntimeException); + RuntimeException, std::exception); virtual void SAL_CALL skipBytes( sal_Int32 nBytesToSkip ) throw( NotConnectedException, BufferSizeExceededException, IOException, - RuntimeException ); + RuntimeException, std::exception ); virtual sal_Int32 SAL_CALL available( void ) throw( NotConnectedException, IOException, - RuntimeException ); + RuntimeException, std::exception ); virtual void SAL_CALL closeInput( void ) throw( NotConnectedException, IOException, - RuntimeException ); + RuntimeException, std::exception ); virtual void SAL_CALL seek( sal_Int64 location ) throw( IllegalArgumentException, IOException, - RuntimeException ); + RuntimeException, std::exception ); - virtual sal_Int64 SAL_CALL getPosition( void ) throw( IOException,RuntimeException ); + virtual sal_Int64 SAL_CALL getPosition( void ) throw( IOException,RuntimeException, std::exception ); - virtual sal_Int64 SAL_CALL getLength( void ) throw( IOException,RuntimeException ); + virtual sal_Int64 SAL_CALL getLength( void ) throw( IOException,RuntimeException, std::exception ); void addToBuffer( const char* buffer,int len ); @@ -1015,7 +1015,7 @@ InputStreamTransformer::~InputStreamTransformer() } -Any SAL_CALL InputStreamTransformer::queryInterface( const Type& rType ) throw( RuntimeException ) +Any SAL_CALL InputStreamTransformer::queryInterface( const Type& rType ) throw( RuntimeException, std::exception ) { Any aRet = ::cppu::queryInterface( rType, (static_cast< XInputStream* >(this)), @@ -1044,7 +1044,7 @@ sal_Int32 SAL_CALL InputStreamTransformer::readBytes( Sequence< sal_Int8 >& aDat throw( NotConnectedException, BufferSizeExceededException, IOException, - RuntimeException) + RuntimeException, std::exception) { osl::MutexGuard aGuard( m_aMutex ); @@ -1068,7 +1068,7 @@ sal_Int32 SAL_CALL InputStreamTransformer::readSomeBytes( Sequence< sal_Int8 >& throw( NotConnectedException, BufferSizeExceededException, IOException, - RuntimeException) + RuntimeException, std::exception) { return readBytes( aData,nMaxBytesToRead ); } @@ -1078,7 +1078,7 @@ sal_Int32 SAL_CALL InputStreamTransformer::readSomeBytes( Sequence< sal_Int8 >& void SAL_CALL InputStreamTransformer::skipBytes( sal_Int32 nBytesToSkip ) throw( NotConnectedException, BufferSizeExceededException, IOException, - RuntimeException ) + RuntimeException, std::exception ) { osl::MutexGuard aGuard( m_aMutex ); while( nBytesToSkip-- ) ++pos; @@ -1088,7 +1088,7 @@ void SAL_CALL InputStreamTransformer::skipBytes( sal_Int32 nBytesToSkip ) throw( sal_Int32 SAL_CALL InputStreamTransformer::available( void ) throw( NotConnectedException, IOException, - RuntimeException ) + RuntimeException, std::exception ) { osl::MutexGuard aGuard( m_aMutex ); return len-pos > 0 ? len - pos : 0 ; @@ -1098,7 +1098,7 @@ sal_Int32 SAL_CALL InputStreamTransformer::available( void ) throw( NotConnected void SAL_CALL InputStreamTransformer::closeInput( void ) throw( NotConnectedException, IOException, - RuntimeException ) + RuntimeException, std::exception ) { } @@ -1106,7 +1106,7 @@ void SAL_CALL InputStreamTransformer::closeInput( void ) throw( NotConnectedExce void SAL_CALL InputStreamTransformer::seek( sal_Int64 location ) throw( IllegalArgumentException, IOException, - RuntimeException ) + RuntimeException, std::exception ) { osl::MutexGuard aGuard( m_aMutex ); if( location < 0 ) @@ -1121,7 +1121,7 @@ void SAL_CALL InputStreamTransformer::seek( sal_Int64 location ) throw( IllegalA sal_Int64 SAL_CALL InputStreamTransformer::getPosition( void ) throw( IOException, - RuntimeException ) + RuntimeException, std::exception ) { osl::MutexGuard aGuard( m_aMutex ); return sal_Int64( pos ); @@ -1129,7 +1129,7 @@ sal_Int64 SAL_CALL InputStreamTransformer::getPosition( void ) throw( IOExceptio -sal_Int64 SAL_CALL InputStreamTransformer::getLength( void ) throw( IOException,RuntimeException ) +sal_Int64 SAL_CALL InputStreamTransformer::getLength( void ) throw( IOException,RuntimeException, std::exception ) { osl::MutexGuard aGuard( m_aMutex ); |