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 /framework/source/accelerators | |
parent | 6fc2bd0094a23aafadeef3f4a8c2803d621a588d (diff) |
cppuhelper: retrofit std::exception into overriding exception specs
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
Diffstat (limited to 'framework/source/accelerators')
4 files changed, 60 insertions, 60 deletions
diff --git a/framework/source/accelerators/acceleratorconfiguration.cxx b/framework/source/accelerators/acceleratorconfiguration.cxx index 8baaea10af91..51078b5773df 100644 --- a/framework/source/accelerators/acceleratorconfiguration.cxx +++ b/framework/source/accelerators/acceleratorconfiguration.cxx @@ -90,7 +90,7 @@ XMLBasedAcceleratorConfiguration::~XMLBasedAcceleratorConfiguration() css::uno::Sequence< css::awt::KeyEvent > SAL_CALL XMLBasedAcceleratorConfiguration::getAllKeyEvents() - throw(css::uno::RuntimeException) + throw(css::uno::RuntimeException, std::exception) { // SAFE -> ---------------------------------- ReadGuard aReadLock(m_aLock); @@ -105,7 +105,7 @@ css::uno::Sequence< css::awt::KeyEvent > SAL_CALL XMLBasedAcceleratorConfigurati OUString SAL_CALL XMLBasedAcceleratorConfiguration::getCommandByKeyEvent(const css::awt::KeyEvent& aKeyEvent) throw(css::container::NoSuchElementException, - css::uno::RuntimeException ) + css::uno::RuntimeException, std::exception ) { // SAFE -> ---------------------------------- ReadGuard aReadLock(m_aLock); @@ -124,7 +124,7 @@ OUString SAL_CALL XMLBasedAcceleratorConfiguration::getCommandByKeyEvent(const c void SAL_CALL XMLBasedAcceleratorConfiguration::setKeyEvent(const css::awt::KeyEvent& aKeyEvent, const OUString& sCommand ) throw(css::lang::IllegalArgumentException, - css::uno::RuntimeException ) + css::uno::RuntimeException, std::exception ) { if ( (aKeyEvent.KeyCode == 0) && @@ -156,7 +156,7 @@ void SAL_CALL XMLBasedAcceleratorConfiguration::setKeyEvent(const css::awt::KeyE void SAL_CALL XMLBasedAcceleratorConfiguration::removeKeyEvent(const css::awt::KeyEvent& aKeyEvent) throw(css::container::NoSuchElementException, - css::uno::RuntimeException ) + css::uno::RuntimeException, std::exception ) { // SAFE -> ---------------------------------- WriteGuard aWriteLock(m_aLock); @@ -175,7 +175,7 @@ throw(css::container::NoSuchElementException, css::uno::Sequence< css::awt::KeyEvent > SAL_CALL XMLBasedAcceleratorConfiguration::getKeyEventsByCommand(const OUString& sCommand) throw(css::lang::IllegalArgumentException , css::container::NoSuchElementException, - css::uno::RuntimeException ) + css::uno::RuntimeException, std::exception ) { if (sCommand.isEmpty()) throw css::lang::IllegalArgumentException( @@ -201,7 +201,7 @@ css::uno::Sequence< css::awt::KeyEvent > SAL_CALL XMLBasedAcceleratorConfigurati css::uno::Sequence< css::uno::Any > SAL_CALL XMLBasedAcceleratorConfiguration::getPreferredKeyEventsForCommandList(const css::uno::Sequence< OUString >& lCommandList) throw(css::lang::IllegalArgumentException , - css::uno::RuntimeException ) + css::uno::RuntimeException, std::exception ) { // SAFE -> ---------------------------------- ReadGuard aReadLock(m_aLock); @@ -241,7 +241,7 @@ css::uno::Sequence< css::uno::Any > SAL_CALL XMLBasedAcceleratorConfiguration::g void SAL_CALL XMLBasedAcceleratorConfiguration::removeCommandFromAllKeyEvents(const OUString& sCommand) throw(css::lang::IllegalArgumentException , css::container::NoSuchElementException, - css::uno::RuntimeException ) + css::uno::RuntimeException, std::exception ) { if (sCommand.isEmpty()) throw css::lang::IllegalArgumentException( @@ -266,7 +266,7 @@ void SAL_CALL XMLBasedAcceleratorConfiguration::removeCommandFromAllKeyEvents(co void SAL_CALL XMLBasedAcceleratorConfiguration::reload() throw(css::uno::Exception , - css::uno::RuntimeException) + css::uno::RuntimeException, std::exception) { css::uno::Reference< css::io::XStream > xStreamNoLang; @@ -311,7 +311,7 @@ void SAL_CALL XMLBasedAcceleratorConfiguration::reload() void SAL_CALL XMLBasedAcceleratorConfiguration::store() throw(css::uno::Exception , - css::uno::RuntimeException) + css::uno::RuntimeException, std::exception) { // SAFE -> ---------------------------------- ReadGuard aReadLock(m_aLock); @@ -339,7 +339,7 @@ void SAL_CALL XMLBasedAcceleratorConfiguration::store() void SAL_CALL XMLBasedAcceleratorConfiguration::storeToStorage(const css::uno::Reference< css::embed::XStorage >& xStorage) throw(css::uno::Exception , - css::uno::RuntimeException) + css::uno::RuntimeException, std::exception) { css::uno::Reference< css::io::XStream > xStream = StorageHolder::openSubStreamWithFallback( xStorage, @@ -362,7 +362,7 @@ void SAL_CALL XMLBasedAcceleratorConfiguration::storeToStorage(const css::uno::R ::sal_Bool SAL_CALL XMLBasedAcceleratorConfiguration::isModified() - throw(css::uno::RuntimeException) + throw(css::uno::RuntimeException, std::exception) { // SAFE -> ---------------------------------- ReadGuard aReadLock(m_aLock); @@ -372,7 +372,7 @@ void SAL_CALL XMLBasedAcceleratorConfiguration::storeToStorage(const css::uno::R ::sal_Bool SAL_CALL XMLBasedAcceleratorConfiguration::isReadOnly() - throw(css::uno::RuntimeException) + throw(css::uno::RuntimeException, std::exception) { // SAFE -> ---------------------------------- ReadGuard aReadLock(m_aLock); @@ -388,14 +388,14 @@ void SAL_CALL XMLBasedAcceleratorConfiguration::storeToStorage(const css::uno::R void SAL_CALL XMLBasedAcceleratorConfiguration::setStorage(const css::uno::Reference< css::embed::XStorage >& /*xStorage*/) - throw(css::uno::RuntimeException) + throw(css::uno::RuntimeException, std::exception) { SAL_INFO("fwk", "XMLBasedAcceleratorConfiguration::setStorage(): implement this HACK .-)"); } ::sal_Bool SAL_CALL XMLBasedAcceleratorConfiguration::hasStorage() - throw(css::uno::RuntimeException) + throw(css::uno::RuntimeException, std::exception) { SAL_INFO("fwk", "XMLBasedAcceleratorConfiguration::hasStorage(): implement this HACK .-)"); return sal_False; @@ -403,21 +403,21 @@ void SAL_CALL XMLBasedAcceleratorConfiguration::setStorage(const css::uno::Refer void SAL_CALL XMLBasedAcceleratorConfiguration::addConfigurationListener(const css::uno::Reference< css::ui::XUIConfigurationListener >& /*xListener*/) - throw(css::uno::RuntimeException) + throw(css::uno::RuntimeException, std::exception) { SAL_INFO("fwk", "XMLBasedAcceleratorConfiguration::addConfigurationListener(): implement me"); } void SAL_CALL XMLBasedAcceleratorConfiguration::removeConfigurationListener(const css::uno::Reference< css::ui::XUIConfigurationListener >& /*xListener*/) - throw(css::uno::RuntimeException) + throw(css::uno::RuntimeException, std::exception) { SAL_INFO("fwk", "XMLBasedAcceleratorConfiguration::removeConfigurationListener(): implement me"); } void SAL_CALL XMLBasedAcceleratorConfiguration::reset() -throw(css::uno::RuntimeException) +throw(css::uno::RuntimeException, std::exception) { // SAFE -> ---------------------------------- WriteGuard aWriteLock(m_aLock); @@ -430,14 +430,14 @@ throw(css::uno::RuntimeException) void SAL_CALL XMLBasedAcceleratorConfiguration::addResetListener(const css::uno::Reference< css::form::XResetListener >& /*xListener*/) - throw(css::uno::RuntimeException) + throw(css::uno::RuntimeException, std::exception) { SAL_INFO("fwk", "XMLBasedAcceleratorConfiguration::addResetListener(): implement me"); } void SAL_CALL XMLBasedAcceleratorConfiguration::removeResetListener(const css::uno::Reference< css::form::XResetListener >& /*xListener*/) - throw(css::uno::RuntimeException) + throw(css::uno::RuntimeException, std::exception) { SAL_INFO("fwk", "XMLBasedAcceleratorConfiguration::removeResetListener(): implement me"); } @@ -612,7 +612,7 @@ XCUBasedAcceleratorConfiguration::~XCUBasedAcceleratorConfiguration() css::uno::Sequence< css::awt::KeyEvent > SAL_CALL XCUBasedAcceleratorConfiguration::getAllKeyEvents() - throw(css::uno::RuntimeException) + throw(css::uno::RuntimeException, std::exception) { // SAFE -> ---------------------------------- ReadGuard aReadLock(m_aLock); @@ -634,7 +634,7 @@ css::uno::Sequence< css::awt::KeyEvent > SAL_CALL XCUBasedAcceleratorConfigurati OUString SAL_CALL XCUBasedAcceleratorConfiguration::getCommandByKeyEvent(const css::awt::KeyEvent& aKeyEvent) throw(css::container::NoSuchElementException, - css::uno::RuntimeException ) + css::uno::RuntimeException, std::exception ) { // SAFE -> ---------------------------------- ReadGuard aReadLock(m_aLock); @@ -659,7 +659,7 @@ OUString SAL_CALL XCUBasedAcceleratorConfiguration::getCommandByKeyEvent(const c void SAL_CALL XCUBasedAcceleratorConfiguration::setKeyEvent(const css::awt::KeyEvent& aKeyEvent, const OUString& sCommand ) throw(css::lang::IllegalArgumentException, - css::uno::RuntimeException ) + css::uno::RuntimeException, std::exception ) { SAL_INFO( "fwk.accelerators", "XCUBasedAcceleratorConfiguration::setKeyEvent" ); @@ -745,7 +745,7 @@ void SAL_CALL XCUBasedAcceleratorConfiguration::setKeyEvent(const css::awt::KeyE void SAL_CALL XCUBasedAcceleratorConfiguration::removeKeyEvent(const css::awt::KeyEvent& aKeyEvent) throw(css::container::NoSuchElementException, - css::uno::RuntimeException ) + css::uno::RuntimeException, std::exception ) { // SAFE -> ---------------------------------- WriteGuard aWriteLock(m_aLock); @@ -789,7 +789,7 @@ void SAL_CALL XCUBasedAcceleratorConfiguration::removeKeyEvent(const css::awt::K css::uno::Sequence< css::awt::KeyEvent > SAL_CALL XCUBasedAcceleratorConfiguration::getKeyEventsByCommand(const OUString& sCommand) throw(css::lang::IllegalArgumentException , css::container::NoSuchElementException, - css::uno::RuntimeException ) + css::uno::RuntimeException, std::exception ) { if (sCommand.isEmpty()) throw css::lang::IllegalArgumentException( @@ -842,7 +842,7 @@ AcceleratorCache::TKeyList::const_iterator lcl_getPreferredKey(const Accelerator css::uno::Sequence< css::uno::Any > SAL_CALL XCUBasedAcceleratorConfiguration::getPreferredKeyEventsForCommandList(const css::uno::Sequence< OUString >& lCommandList) throw(css::lang::IllegalArgumentException , - css::uno::RuntimeException ) + css::uno::RuntimeException, std::exception ) { // SAFE -> ---------------------------------- ReadGuard aReadLock(m_aLock); @@ -886,7 +886,7 @@ css::uno::Sequence< css::uno::Any > SAL_CALL XCUBasedAcceleratorConfiguration::g void SAL_CALL XCUBasedAcceleratorConfiguration::removeCommandFromAllKeyEvents(const OUString& sCommand) throw(css::lang::IllegalArgumentException , css::container::NoSuchElementException, - css::uno::RuntimeException ) + css::uno::RuntimeException, std::exception ) { if (sCommand.isEmpty()) throw css::lang::IllegalArgumentException( @@ -917,7 +917,7 @@ void SAL_CALL XCUBasedAcceleratorConfiguration::removeCommandFromAllKeyEvents(co void SAL_CALL XCUBasedAcceleratorConfiguration::reload() throw(css::uno::Exception , - css::uno::RuntimeException) + css::uno::RuntimeException, std::exception) { SAL_INFO( "fwk.accelerators", "XCUBasedAcceleratorConfiguration::reload()" ); @@ -958,7 +958,7 @@ void SAL_CALL XCUBasedAcceleratorConfiguration::reload() void SAL_CALL XCUBasedAcceleratorConfiguration::store() throw(css::uno::Exception , - css::uno::RuntimeException) + css::uno::RuntimeException, std::exception) { SAL_INFO( "fwk.accelerators", "XCUBasedAcceleratorConfiguration::store()" ); @@ -987,7 +987,7 @@ void SAL_CALL XCUBasedAcceleratorConfiguration::store() void SAL_CALL XCUBasedAcceleratorConfiguration::storeToStorage(const css::uno::Reference< css::embed::XStorage >& xStorage) throw(css::uno::Exception , - css::uno::RuntimeException) + css::uno::RuntimeException, std::exception) { // use m_aCache + old AcceleratorXMLWriter to store data directly on storage given as parameter ... if (!xStorage.is()) @@ -1053,28 +1053,28 @@ void SAL_CALL XCUBasedAcceleratorConfiguration::storeToStorage(const css::uno::R ::sal_Bool SAL_CALL XCUBasedAcceleratorConfiguration::isModified() - throw(css::uno::RuntimeException) + throw(css::uno::RuntimeException, std::exception) { return sal_False; } ::sal_Bool SAL_CALL XCUBasedAcceleratorConfiguration::isReadOnly() - throw(css::uno::RuntimeException) + throw(css::uno::RuntimeException, std::exception) { return sal_False; } void SAL_CALL XCUBasedAcceleratorConfiguration::setStorage(const css::uno::Reference< css::embed::XStorage >& /*xStorage*/) - throw(css::uno::RuntimeException) + throw(css::uno::RuntimeException, std::exception) { SAL_INFO("fwk", "XCUBasedAcceleratorConfiguration::setStorage(): implement this HACK .-)"); } ::sal_Bool SAL_CALL XCUBasedAcceleratorConfiguration::hasStorage() - throw(css::uno::RuntimeException) + throw(css::uno::RuntimeException, std::exception) { SAL_INFO("fwk", "XCUBasedAcceleratorConfiguration::hasStorage(): implement this HACK .-)"); return sal_False; @@ -1082,21 +1082,21 @@ void SAL_CALL XCUBasedAcceleratorConfiguration::setStorage(const css::uno::Refer void SAL_CALL XCUBasedAcceleratorConfiguration::addConfigurationListener(const css::uno::Reference< css::ui::XUIConfigurationListener >& /*xListener*/) - throw(css::uno::RuntimeException) + throw(css::uno::RuntimeException, std::exception) { SAL_INFO("fwk", "XCUBasedAcceleratorConfiguration::addConfigurationListener(): implement me"); } void SAL_CALL XCUBasedAcceleratorConfiguration::removeConfigurationListener(const css::uno::Reference< css::ui::XUIConfigurationListener >& /*xListener*/) - throw(css::uno::RuntimeException) + throw(css::uno::RuntimeException, std::exception) { SAL_INFO("fwk", "XCUBasedAcceleratorConfiguration::removeConfigurationListener(): implement me"); } void SAL_CALL XCUBasedAcceleratorConfiguration::reset() - throw(css::uno::RuntimeException) + throw(css::uno::RuntimeException, std::exception) { css::uno::Reference< css::container::XNamed > xNamed(m_xCfg, css::uno::UNO_QUERY); OUString sConfig = xNamed->getName(); @@ -1118,21 +1118,21 @@ void SAL_CALL XCUBasedAcceleratorConfiguration::reset() void SAL_CALL XCUBasedAcceleratorConfiguration::addResetListener(const css::uno::Reference< css::form::XResetListener >& /*xListener*/) - throw(css::uno::RuntimeException) + throw(css::uno::RuntimeException, std::exception) { SAL_INFO("fwk", "XCUBasedAcceleratorConfiguration::addResetListener(): implement me"); } void SAL_CALL XCUBasedAcceleratorConfiguration::removeResetListener(const css::uno::Reference< css::form::XResetListener >& /*xListener*/) - throw(css::uno::RuntimeException) + throw(css::uno::RuntimeException, std::exception) { SAL_INFO("fwk", "XCUBasedAcceleratorConfiguration::removeResetListener(): implement me"); } void SAL_CALL XCUBasedAcceleratorConfiguration::changesOccurred(const css::util::ChangesEvent& aEvent) - throw(css::uno::RuntimeException) + throw(css::uno::RuntimeException, std::exception) { SAL_INFO( "fwk.accelerators", "XCUBasedAcceleratorConfiguration::changesOccurred()" ); @@ -1184,27 +1184,27 @@ void SAL_CALL XCUBasedAcceleratorConfiguration::changesOccurred(const css::util: void SAL_CALL XCUBasedAcceleratorConfiguration::disposing(const css::lang::EventObject& /*aSource*/) - throw(css::uno::RuntimeException) + throw(css::uno::RuntimeException, std::exception) { } void SAL_CALL XCUBasedAcceleratorConfiguration::dispose() - throw(css::uno::RuntimeException) + throw(css::uno::RuntimeException, std::exception) { // nop } void SAL_CALL XCUBasedAcceleratorConfiguration::addEventListener( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener >& /*xListener*/ ) - throw(css::uno::RuntimeException) + throw(css::uno::RuntimeException, std::exception) { // nop } void SAL_CALL XCUBasedAcceleratorConfiguration::removeEventListener( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener >& /*xListener*/ ) - throw(css::uno::RuntimeException) + throw(css::uno::RuntimeException, std::exception) { // nop } diff --git a/framework/source/accelerators/documentacceleratorconfiguration.cxx b/framework/source/accelerators/documentacceleratorconfiguration.cxx index adb14034efb1..e3881f8248f2 100644 --- a/framework/source/accelerators/documentacceleratorconfiguration.cxx +++ b/framework/source/accelerators/documentacceleratorconfiguration.cxx @@ -74,19 +74,19 @@ public: virtual ~DocumentAcceleratorConfiguration(); virtual OUString SAL_CALL getImplementationName() - throw (css::uno::RuntimeException) + throw (css::uno::RuntimeException, std::exception) { return OUString("com.sun.star.comp.framework.DocumentAcceleratorConfiguration"); } virtual sal_Bool SAL_CALL supportsService(OUString const & ServiceName) - throw (css::uno::RuntimeException) + throw (css::uno::RuntimeException, std::exception) { return cppu::supportsService(this, ServiceName); } virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() - throw (css::uno::RuntimeException) + throw (css::uno::RuntimeException, std::exception) { css::uno::Sequence< OUString > aSeq(1); aSeq[0] = OUString("com.sun.star.ui.DocumentAcceleratorConfiguration"); @@ -95,10 +95,10 @@ public: // XUIConfigurationStorage virtual void SAL_CALL setStorage(const css::uno::Reference< css::embed::XStorage >& xStorage) - throw(css::uno::RuntimeException); + throw(css::uno::RuntimeException, std::exception); virtual sal_Bool SAL_CALL hasStorage() - throw(css::uno::RuntimeException); + throw(css::uno::RuntimeException, std::exception); private: @@ -144,7 +144,7 @@ DocumentAcceleratorConfiguration::~DocumentAcceleratorConfiguration() void SAL_CALL DocumentAcceleratorConfiguration::setStorage(const css::uno::Reference< css::embed::XStorage >& xStorage) - throw(css::uno::RuntimeException) + throw(css::uno::RuntimeException, std::exception) { // Attention! xStorage must be accepted too, if it's NULL ! @@ -164,7 +164,7 @@ void SAL_CALL DocumentAcceleratorConfiguration::setStorage(const css::uno::Refer sal_Bool SAL_CALL DocumentAcceleratorConfiguration::hasStorage() - throw(css::uno::RuntimeException) + throw(css::uno::RuntimeException, std::exception) { // SAFE -> ---------------------------------- ReadGuard aReadLock(m_aLock); diff --git a/framework/source/accelerators/globalacceleratorconfiguration.cxx b/framework/source/accelerators/globalacceleratorconfiguration.cxx index 762dd15d500e..ca2977a8b989 100644 --- a/framework/source/accelerators/globalacceleratorconfiguration.cxx +++ b/framework/source/accelerators/globalacceleratorconfiguration.cxx @@ -59,19 +59,19 @@ public: virtual ~GlobalAcceleratorConfiguration() {} virtual OUString SAL_CALL getImplementationName() - throw (css::uno::RuntimeException) + throw (css::uno::RuntimeException, std::exception) { return OUString("com.sun.star.comp.framework.GlobalAcceleratorConfiguration"); } virtual sal_Bool SAL_CALL supportsService(OUString const & ServiceName) - throw (css::uno::RuntimeException) + throw (css::uno::RuntimeException, std::exception) { return cppu::supportsService(this, ServiceName); } virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() - throw (css::uno::RuntimeException) + throw (css::uno::RuntimeException, std::exception) { css::uno::Sequence< OUString > aSeq(1); aSeq[0] = OUString("com.sun.star.ui.GlobalAcceleratorConfiguration"); @@ -79,7 +79,7 @@ public: } // XComponent - virtual void SAL_CALL dispose() throw (::com::sun::star::uno::RuntimeException); + virtual void SAL_CALL dispose() throw (::com::sun::star::uno::RuntimeException, std::exception); /// This has to be called after when the instance is acquire()'d. void fillCache(); @@ -130,7 +130,7 @@ void GlobalAcceleratorConfiguration::fillCache() // XComponent.dispose(), #i120029#, to release the cyclic reference // void SAL_CALL GlobalAcceleratorConfiguration::dispose() - throw(css::uno::RuntimeException) + throw(css::uno::RuntimeException, std::exception) { try { diff --git a/framework/source/accelerators/moduleacceleratorconfiguration.cxx b/framework/source/accelerators/moduleacceleratorconfiguration.cxx index 84c2cb19658f..a33a2e64de87 100644 --- a/framework/source/accelerators/moduleacceleratorconfiguration.cxx +++ b/framework/source/accelerators/moduleacceleratorconfiguration.cxx @@ -75,19 +75,19 @@ public: virtual ~ModuleAcceleratorConfiguration(); virtual OUString SAL_CALL getImplementationName() - throw (css::uno::RuntimeException) + throw (css::uno::RuntimeException, std::exception) { return OUString("com.sun.star.comp.framework.ModuleAcceleratorConfiguration"); } virtual sal_Bool SAL_CALL supportsService(OUString const & ServiceName) - throw (css::uno::RuntimeException) + throw (css::uno::RuntimeException, std::exception) { return cppu::supportsService(this, ServiceName); } virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() - throw (css::uno::RuntimeException) + throw (css::uno::RuntimeException, std::exception) { css::uno::Sequence< OUString > aSeq(1); aSeq[0] = OUString("com.sun.star.ui.ModuleAcceleratorConfiguration"); @@ -95,7 +95,7 @@ public: } // XComponent - virtual void SAL_CALL dispose() throw (css::uno::RuntimeException); + virtual void SAL_CALL dispose() throw (css::uno::RuntimeException, std::exception); /// This has to be called after when the instance is acquire()'d. void SAL_CALL fillCache(); @@ -173,7 +173,7 @@ void ModuleAcceleratorConfiguration::fillCache() // XComponent.dispose(), #i120029#, to release the cyclic reference // void SAL_CALL ModuleAcceleratorConfiguration::dispose() - throw(css::uno::RuntimeException) + throw(css::uno::RuntimeException, std::exception) { try { |