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 /scripting/source/provider/MasterScriptProvider.hxx | |
parent | 6fc2bd0094a23aafadeef3f4a8c2803d621a588d (diff) |
cppuhelper: retrofit std::exception into overriding exception specs
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
Diffstat (limited to 'scripting/source/provider/MasterScriptProvider.hxx')
-rw-r--r-- | scripting/source/provider/MasterScriptProvider.hxx | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/scripting/source/provider/MasterScriptProvider.hxx b/scripting/source/provider/MasterScriptProvider.hxx index 7c5ab87d4040..d5d76ccf74e8 100644 --- a/scripting/source/provider/MasterScriptProvider.hxx +++ b/scripting/source/provider/MasterScriptProvider.hxx @@ -56,41 +56,41 @@ public: // XServiceInfo implementation virtual OUString SAL_CALL getImplementationName( ) - throw( css::uno::RuntimeException ); + throw( css::uno::RuntimeException, std::exception ); // XBrowseNode implementation virtual OUString SAL_CALL getName() - throw ( css::uno::RuntimeException ); + throw ( css::uno::RuntimeException, std::exception ); virtual css::uno::Sequence< css::uno::Reference< css::script::browse::XBrowseNode > > SAL_CALL getChildNodes() - throw ( css::uno::RuntimeException ); + throw ( css::uno::RuntimeException, std::exception ); virtual sal_Bool SAL_CALL hasChildNodes() - throw ( css::uno::RuntimeException ); + throw ( css::uno::RuntimeException, std::exception ); virtual sal_Int16 SAL_CALL getType() - throw ( css::uno::RuntimeException ); + throw ( css::uno::RuntimeException, std::exception ); // XNameContainer - virtual void SAL_CALL insertByName( const OUString& aName, const css::uno::Any& aElement ) throw ( css::lang::IllegalArgumentException, css::container::ElementExistException, css::lang::WrappedTargetException, css::uno::RuntimeException); - virtual void SAL_CALL removeByName( const OUString& Name ) throw ( css::container::NoSuchElementException, css::lang::WrappedTargetException, css::uno::RuntimeException); + virtual void SAL_CALL insertByName( const OUString& aName, const css::uno::Any& aElement ) throw ( css::lang::IllegalArgumentException, css::container::ElementExistException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception); + virtual void SAL_CALL removeByName( const OUString& Name ) throw ( css::container::NoSuchElementException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception); // XNameReplace - virtual void SAL_CALL replaceByName( const OUString& aName, const css::uno::Any& aElement ) throw ( css::lang::IllegalArgumentException, css::container::NoSuchElementException, css::lang::WrappedTargetException, css::uno::RuntimeException); + virtual void SAL_CALL replaceByName( const OUString& aName, const css::uno::Any& aElement ) throw ( css::lang::IllegalArgumentException, css::container::NoSuchElementException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception); // XNameAccess - virtual css::uno::Any SAL_CALL getByName( const OUString& aName ) throw ( css::container::NoSuchElementException, css::lang::WrappedTargetException, css::uno::RuntimeException); - virtual css::uno::Sequence< OUString > SAL_CALL getElementNames( ) throw ( css::uno::RuntimeException); - virtual sal_Bool SAL_CALL hasByName( const OUString& aName ) throw (::com::sun::star::uno::RuntimeException); + virtual css::uno::Any SAL_CALL getByName( const OUString& aName ) throw ( css::container::NoSuchElementException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception); + virtual css::uno::Sequence< OUString > SAL_CALL getElementNames( ) throw ( css::uno::RuntimeException, std::exception); + virtual sal_Bool SAL_CALL hasByName( const OUString& aName ) throw (::com::sun::star::uno::RuntimeException, std::exception); // XElementAccess - virtual css::uno::Type SAL_CALL getElementType( ) throw ( css::uno::RuntimeException); - virtual sal_Bool SAL_CALL hasElements( ) throw ( css::uno::RuntimeException); + virtual css::uno::Type SAL_CALL getElementType( ) throw ( css::uno::RuntimeException, std::exception); + virtual sal_Bool SAL_CALL hasElements( ) throw ( css::uno::RuntimeException, std::exception); virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) - throw( css::uno::RuntimeException ); + throw( css::uno::RuntimeException, std::exception ); virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames( ) - throw( css::uno::RuntimeException ); + throw( css::uno::RuntimeException, std::exception ); // XScriptProvider implementation virtual css::uno::Reference < css::script::provider::XScript > SAL_CALL getScript( const OUString& scriptURI ) throw( css::script::provider::ScriptFrameworkErrorException, - css::uno::RuntimeException ); + css::uno::RuntimeException, std::exception ); /** * XInitialise implementation @@ -99,7 +99,7 @@ public: * containing the URI */ virtual void SAL_CALL initialize( const css::uno::Sequence < css::uno::Any > & args ) - throw ( css::uno::Exception, css::uno::RuntimeException); + throw ( css::uno::Exception, css::uno::RuntimeException, std::exception); // Public method to return all Language Providers in this MasterScriptProviders // context. |