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 /ucb/source/cacher/cacheddynamicresultsetstub.cxx | |
parent | 6fc2bd0094a23aafadeef3f4a8c2803d621a588d (diff) |
cppuhelper: retrofit std::exception into overriding exception specs
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
Diffstat (limited to 'ucb/source/cacher/cacheddynamicresultsetstub.cxx')
-rw-r--r-- | ucb/source/cacher/cacheddynamicresultsetstub.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ucb/source/cacher/cacheddynamicresultsetstub.cxx b/ucb/source/cacher/cacheddynamicresultsetstub.cxx index fb7dbe5daa02..efbb359edf6d 100644 --- a/ucb/source/cacher/cacheddynamicresultsetstub.cxx +++ b/ucb/source/cacher/cacheddynamicresultsetstub.cxx @@ -81,7 +81,7 @@ XINTERFACE_COMMON_IMPL( CachedDynamicResultSetStub ) Any SAL_CALL CachedDynamicResultSetStub ::queryInterface( const Type& rType ) - throw ( RuntimeException ) + throw ( RuntimeException, std::exception ) { //list all interfaces inclusive baseclasses of interfaces @@ -172,7 +172,7 @@ ONE_INSTANCE_SERVICE_FACTORY_IMPL( CachedDynamicResultSetStubFactory ); Reference< XDynamicResultSet > SAL_CALL CachedDynamicResultSetStubFactory ::createCachedDynamicResultSetStub( const Reference< XDynamicResultSet > & Source ) - throw( RuntimeException ) + throw( RuntimeException, std::exception ) { Reference< XDynamicResultSet > xRet; xRet = new CachedDynamicResultSetStub( Source, m_xContext ); @@ -189,7 +189,7 @@ void SAL_CALL CachedDynamicResultSetStubFactory ) throw ( ListenerAlreadySetException , AlreadyInitializedException - , RuntimeException ) + , RuntimeException, std::exception ) { OSL_ENSURE( Source.is(), "a Source is needed" ); OSL_ENSURE( TargetCache.is(), "a TargetCache is needed" ); |