From 5e21a413c788f839a66d9e4c14e745ed18058db8 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 25 Feb 2014 21:31:58 +0100 Subject: cppuhelper: retrofit std::exception into overriding exception specs Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3 --- remotebridges/source/unourl_resolver/unourl_resolver.cxx | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'remotebridges') diff --git a/remotebridges/source/unourl_resolver/unourl_resolver.cxx b/remotebridges/source/unourl_resolver/unourl_resolver.cxx index c926ea16c8d9..e1b414507f07 100644 --- a/remotebridges/source/unourl_resolver/unourl_resolver.cxx +++ b/remotebridges/source/unourl_resolver/unourl_resolver.cxx @@ -71,13 +71,13 @@ public: virtual ~ResolverImpl(); // XServiceInfo - virtual OUString SAL_CALL getImplementationName() throw(::com::sun::star::uno::RuntimeException); - virtual sal_Bool SAL_CALL supportsService( const OUString & rServiceName ) throw(::com::sun::star::uno::RuntimeException); - virtual Sequence< OUString > SAL_CALL getSupportedServiceNames() throw(::com::sun::star::uno::RuntimeException); + virtual OUString SAL_CALL getImplementationName() throw(::com::sun::star::uno::RuntimeException, std::exception); + virtual sal_Bool SAL_CALL supportsService( const OUString & rServiceName ) throw(::com::sun::star::uno::RuntimeException, std::exception); + virtual Sequence< OUString > SAL_CALL getSupportedServiceNames() throw(::com::sun::star::uno::RuntimeException, std::exception); // XUnoUrlResolver virtual Reference< XInterface > SAL_CALL resolve( const OUString & rUnoUrl ) - throw (NoConnectException, ConnectionSetupException, RuntimeException); + throw (NoConnectException, ConnectionSetupException, RuntimeException, std::exception); }; ResolverImpl::ResolverImpl( const Reference< XComponentContext > & xCtx ) @@ -89,26 +89,26 @@ ResolverImpl::~ResolverImpl() {} // XServiceInfo OUString ResolverImpl::getImplementationName() - throw(::com::sun::star::uno::RuntimeException) + throw(::com::sun::star::uno::RuntimeException, std::exception) { return resolver_getImplementationName(); } sal_Bool ResolverImpl::supportsService( const OUString & rServiceName ) - throw(::com::sun::star::uno::RuntimeException) + throw(::com::sun::star::uno::RuntimeException, std::exception) { return cppu::supportsService(this, rServiceName); } Sequence< OUString > ResolverImpl::getSupportedServiceNames() - throw(::com::sun::star::uno::RuntimeException) + throw(::com::sun::star::uno::RuntimeException, std::exception) { return resolver_getSupportedServiceNames(); } // XUnoUrlResolver Reference< XInterface > ResolverImpl::resolve( const OUString & rUnoUrl ) - throw (NoConnectException, ConnectionSetupException, RuntimeException) + throw (NoConnectException, ConnectionSetupException, RuntimeException, std::exception) { OUString aProtocolDescr; OUString aConnectDescr; -- cgit