diff options
Diffstat (limited to 'configmgr/source/access.hxx')
-rw-r--r-- | configmgr/source/access.hxx | 223 |
1 files changed, 53 insertions, 170 deletions
diff --git a/configmgr/source/access.hxx b/configmgr/source/access.hxx index 5bd3a74f89c3..5fc8d183f5be 100644 --- a/configmgr/source/access.hxx +++ b/configmgr/source/access.hxx @@ -134,295 +134,179 @@ public: using OWeakObject::release; virtual css::uno::Sequence< css::uno::Type > SAL_CALL - getTypes() throw (css::uno::RuntimeException, std::exception) override; + getTypes() override; virtual css::uno::Sequence< sal_Int8 > SAL_CALL - getImplementationId() throw (css::uno::RuntimeException, std::exception) override; + getImplementationId() override; - virtual OUString SAL_CALL getImplementationName() - throw (css::uno::RuntimeException, std::exception) override; + virtual OUString SAL_CALL getImplementationName() override; - virtual sal_Bool SAL_CALL supportsService(OUString const & ServiceName) - throw (css::uno::RuntimeException, std::exception) override; + virtual sal_Bool SAL_CALL supportsService(OUString const & ServiceName) override; virtual css::uno::Sequence< OUString > SAL_CALL - getSupportedServiceNames() throw (css::uno::RuntimeException, std::exception) override; + getSupportedServiceNames() override; - virtual void SAL_CALL dispose() - throw (css::uno::RuntimeException, std::exception) override; + virtual void SAL_CALL dispose() override; virtual void SAL_CALL addEventListener( css::uno::Reference< css::lang::XEventListener > - const & xListener) - throw (css::uno::RuntimeException, std::exception) override; + const & xListener) override; virtual void SAL_CALL removeEventListener( css::uno::Reference< css::lang::XEventListener > - const & aListener) - throw (css::uno::RuntimeException, std::exception) override; + const & aListener) override; - virtual css::uno::Type SAL_CALL getElementType() - throw (css::uno::RuntimeException, std::exception) override; + virtual css::uno::Type SAL_CALL getElementType() override; - virtual sal_Bool SAL_CALL hasElements() - throw (css::uno::RuntimeException, std::exception) override; + virtual sal_Bool SAL_CALL hasElements() override; virtual css::uno::Any SAL_CALL getByName( - OUString const & aName) - throw ( - css::container::NoSuchElementException, - css::lang::WrappedTargetException, - css::uno::RuntimeException, std::exception) override; + OUString const & aName) override; virtual css::uno::Sequence< OUString > SAL_CALL - getElementNames() throw (css::uno::RuntimeException, std::exception) override; + getElementNames() override; - virtual sal_Bool SAL_CALL hasByName(OUString const & aName) - throw (css::uno::RuntimeException, std::exception) override; + virtual sal_Bool SAL_CALL hasByName(OUString const & aName) override; virtual css::uno::Any SAL_CALL getByHierarchicalName( - OUString const & aName) - throw ( - css::container::NoSuchElementException, - css::uno::RuntimeException, std::exception) override; + OUString const & aName) override; - virtual sal_Bool SAL_CALL hasByHierarchicalName(OUString const & aName) - throw (css::uno::RuntimeException, std::exception) override; + virtual sal_Bool SAL_CALL hasByHierarchicalName(OUString const & aName) override; virtual void SAL_CALL replaceByHierarchicalName( - OUString const & aName, css::uno::Any const & aElement) - throw ( - css::lang::IllegalArgumentException, - css::container::NoSuchElementException, - css::lang::WrappedTargetException, - css::uno::RuntimeException, std::exception) override; + OUString const & aName, css::uno::Any const & aElement) override; virtual void SAL_CALL addContainerListener( css::uno::Reference< - css::container::XContainerListener > const & xListener) - throw (css::uno::RuntimeException, std::exception) override; + css::container::XContainerListener > const & xListener) override; virtual void SAL_CALL removeContainerListener( css::uno::Reference< - css::container::XContainerListener > const & xListener) - throw (css::uno::RuntimeException, std::exception) override; + css::container::XContainerListener > const & xListener) override; virtual OUString SAL_CALL getExactName( - OUString const & aApproximateName) - throw (css::uno::RuntimeException, std::exception) override; + OUString const & aApproximateName) override; virtual css::uno::Sequence< css::beans::Property > - SAL_CALL getProperties() throw (css::uno::RuntimeException, std::exception) override; + SAL_CALL getProperties() override; virtual css::beans::Property SAL_CALL getPropertyByName( - OUString const & aName) - throw ( - css::beans::UnknownPropertyException, - css::uno::RuntimeException, std::exception) override; + OUString const & aName) override; - virtual sal_Bool SAL_CALL hasPropertyByName(OUString const & Name) - throw (css::uno::RuntimeException, std::exception) override; + virtual sal_Bool SAL_CALL hasPropertyByName(OUString const & Name) override; - virtual OUString SAL_CALL getHierarchicalName() - throw (css::uno::RuntimeException, std::exception) override; + virtual OUString SAL_CALL getHierarchicalName() override; virtual OUString SAL_CALL composeHierarchicalName( - OUString const & aRelativeName) - throw ( - css::lang::IllegalArgumentException, - css::lang::NoSupportException, - css::uno::RuntimeException, std::exception) override; + OUString const & aRelativeName) override; - virtual OUString SAL_CALL getName() - throw (css::uno::RuntimeException, std::exception) override; + virtual OUString SAL_CALL getName() override; - virtual void SAL_CALL setName(OUString const & aName) - throw (css::uno::RuntimeException, std::exception) override; + virtual void SAL_CALL setName(OUString const & aName) override; - virtual css::beans::Property SAL_CALL getAsProperty() - throw (css::uno::RuntimeException, std::exception) override; + virtual css::beans::Property SAL_CALL getAsProperty() override; virtual css::uno::Reference< css::beans::XPropertySetInfo > - SAL_CALL getPropertySetInfo() throw (css::uno::RuntimeException, std::exception) override; + SAL_CALL getPropertySetInfo() override; virtual void SAL_CALL setPropertyValue( OUString const & aPropertyName, - css::uno::Any const & aValue) - throw ( - css::beans::UnknownPropertyException, - css::beans::PropertyVetoException, - css::lang::IllegalArgumentException, - css::lang::WrappedTargetException, - css::uno::RuntimeException, std::exception) override; + css::uno::Any const & aValue) override; virtual css::uno::Any SAL_CALL getPropertyValue( - OUString const & PropertyName) - throw ( - css::beans::UnknownPropertyException, - css::lang::WrappedTargetException, - css::uno::RuntimeException, std::exception) override; + OUString const & PropertyName) override; virtual void SAL_CALL addPropertyChangeListener( OUString const & aPropertyName, css::uno::Reference< - css::beans::XPropertyChangeListener > const & xListener) - throw ( - css::beans::UnknownPropertyException, - css::lang::WrappedTargetException, - css::uno::RuntimeException, std::exception) override; + css::beans::XPropertyChangeListener > const & xListener) override; virtual void SAL_CALL removePropertyChangeListener( OUString const & aPropertyName, css::uno::Reference< - css::beans::XPropertyChangeListener > const & aListener) - throw ( - css::beans::UnknownPropertyException, - css::lang::WrappedTargetException, - css::uno::RuntimeException, std::exception) override; + css::beans::XPropertyChangeListener > const & aListener) override; virtual void SAL_CALL addVetoableChangeListener( OUString const & PropertyName, css::uno::Reference< - css::beans::XVetoableChangeListener > const & aListener) - throw ( - css::beans::UnknownPropertyException, - css::lang::WrappedTargetException, - css::uno::RuntimeException, std::exception) override; + css::beans::XVetoableChangeListener > const & aListener) override; virtual void SAL_CALL removeVetoableChangeListener( OUString const & PropertyName, css::uno::Reference< - css::beans::XVetoableChangeListener > const & aListener) - throw ( - css::beans::UnknownPropertyException, - css::lang::WrappedTargetException, - css::uno::RuntimeException, std::exception) override; + css::beans::XVetoableChangeListener > const & aListener) override; virtual void SAL_CALL setPropertyValues( css::uno::Sequence< OUString > const & aPropertyNames, css::uno::Sequence< css::uno::Any > const & - aValues) - throw ( - css::beans::PropertyVetoException, - css::lang::IllegalArgumentException, - css::lang::WrappedTargetException, - css::uno::RuntimeException, std::exception) override; + aValues) override; virtual css::uno::Sequence< css::uno::Any > SAL_CALL getPropertyValues( - css::uno::Sequence< OUString > const & aPropertyNames) - throw (css::uno::RuntimeException, std::exception) override; + css::uno::Sequence< OUString > const & aPropertyNames) override; virtual void SAL_CALL addPropertiesChangeListener( css::uno::Sequence< OUString > const & aPropertyNames, css::uno::Reference< css::beans::XPropertiesChangeListener > const & - xListener) - throw (css::uno::RuntimeException, std::exception) override; + xListener) override; virtual void SAL_CALL removePropertiesChangeListener( css::uno::Reference< css::beans::XPropertiesChangeListener > const & - xListener) - throw (css::uno::RuntimeException, std::exception) override; + xListener) override; virtual void SAL_CALL firePropertiesChangeEvent( css::uno::Sequence< OUString > const & aPropertyNames, css::uno::Reference< css::beans::XPropertiesChangeListener > const & - xListener) - throw (css::uno::RuntimeException, std::exception) override; + xListener) override; virtual css::uno::Reference< css::beans::XHierarchicalPropertySetInfo > SAL_CALL - getHierarchicalPropertySetInfo() - throw (css::uno::RuntimeException, std::exception) override; + getHierarchicalPropertySetInfo() override; virtual void SAL_CALL setHierarchicalPropertyValue( OUString const & aHierarchicalPropertyName, - css::uno::Any const & aValue) - throw ( - css::beans::UnknownPropertyException, - css::beans::PropertyVetoException, - css::lang::IllegalArgumentException, - css::lang::WrappedTargetException, - css::uno::RuntimeException, std::exception) override; + css::uno::Any const & aValue) override; virtual css::uno::Any SAL_CALL getHierarchicalPropertyValue( - OUString const & aHierarchicalPropertyName) - throw ( - css::beans::UnknownPropertyException, - css::lang::IllegalArgumentException, - css::lang::WrappedTargetException, - css::uno::RuntimeException, std::exception) override; + OUString const & aHierarchicalPropertyName) override; virtual void SAL_CALL setHierarchicalPropertyValues( css::uno::Sequence< OUString > const & aHierarchicalPropertyNames, css::uno::Sequence< css::uno::Any > const & - Values) - throw ( - css::beans::PropertyVetoException, - css::lang::IllegalArgumentException, - css::lang::WrappedTargetException, - css::uno::RuntimeException, std::exception) override; + Values) override; virtual css::uno::Sequence< css::uno::Any > SAL_CALL getHierarchicalPropertyValues( css::uno::Sequence< OUString > const & - aHierarchicalPropertyNames) - throw ( - css::lang::IllegalArgumentException, - css::lang::WrappedTargetException, - css::uno::RuntimeException, std::exception) override; + aHierarchicalPropertyNames) override; virtual css::beans::Property SAL_CALL - getPropertyByHierarchicalName(OUString const & aHierarchicalName) - throw ( - css::beans::UnknownPropertyException, - css::uno::RuntimeException, std::exception) override; + getPropertyByHierarchicalName(OUString const & aHierarchicalName) override; virtual sal_Bool SAL_CALL hasPropertyByHierarchicalName( - OUString const & aHierarchicalName) - throw (css::uno::RuntimeException, std::exception) override; + OUString const & aHierarchicalName) override; virtual void SAL_CALL replaceByName( - OUString const & aName, css::uno::Any const & aElement) - throw ( - css::lang::IllegalArgumentException, - css::container::NoSuchElementException, - css::lang::WrappedTargetException, - css::uno::RuntimeException, std::exception) override; + OUString const & aName, css::uno::Any const & aElement) override; virtual void SAL_CALL insertByName( - OUString const & aName, css::uno::Any const & aElement) - throw ( - css::lang::IllegalArgumentException, - css::container::ElementExistException, - css::lang::WrappedTargetException, - css::uno::RuntimeException, std::exception) override; - - virtual void SAL_CALL removeByName(OUString const & aName) - throw ( - css::container::NoSuchElementException, - css::lang::WrappedTargetException, - css::uno::RuntimeException, std::exception) override; + OUString const & aName, css::uno::Any const & aElement) override; + + virtual void SAL_CALL removeByName(OUString const & aName) override; virtual css::uno::Reference< css::uno::XInterface > - SAL_CALL createInstance() - throw ( - css::uno::Exception, - css::uno::RuntimeException, std::exception) override; + SAL_CALL createInstance() override; virtual css::uno::Reference< css::uno::XInterface > SAL_CALL createInstanceWithArguments( css::uno::Sequence< css::uno::Any > const & - aArguments) - throw ( - css::uno::Exception, - css::uno::RuntimeException, std::exception) override; + aArguments) override; protected: explicit Access(Components & components); @@ -443,8 +327,7 @@ protected: virtual void clearListeners() throw (); virtual css::uno::Any SAL_CALL queryInterface( - css::uno::Type const & aType) - throw (css::uno::RuntimeException, std::exception) override; + css::uno::Type const & aType) override; Components & getComponents() const { return components_;} |