diff options
Diffstat (limited to 'connectivity/source/sdbcx/VTable.cxx')
-rw-r--r-- | connectivity/source/sdbcx/VTable.cxx | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/connectivity/source/sdbcx/VTable.cxx b/connectivity/source/sdbcx/VTable.cxx index de38f104c1f7..44edf0b3575e 100644 --- a/connectivity/source/sdbcx/VTable.cxx +++ b/connectivity/source/sdbcx/VTable.cxx @@ -40,7 +40,7 @@ using namespace ::com::sun::star::container; using namespace ::com::sun::star::lang; -OUString SAL_CALL OTable::getImplementationName( ) throw (css::uno::RuntimeException, std::exception) +OUString SAL_CALL OTable::getImplementationName( ) { if(isNew()) return OUString("com.sun.star.sdbcx.VTableDescriptor"); @@ -48,7 +48,7 @@ OUString SAL_CALL OTable::getImplementationName( ) throw (css::uno::RuntimeExce } -css::uno::Sequence< OUString > SAL_CALL OTable::getSupportedServiceNames( ) throw(css::uno::RuntimeException, std::exception) +css::uno::Sequence< OUString > SAL_CALL OTable::getSupportedServiceNames( ) { css::uno::Sequence< OUString > aSupported(1); if(isNew()) @@ -59,7 +59,7 @@ css::uno::Sequence< OUString > SAL_CALL OTable::getSupportedServiceNames( ) thr return aSupported; } -sal_Bool SAL_CALL OTable::supportsService( const OUString& _rServiceName ) throw(css::uno::RuntimeException, std::exception) +sal_Bool SAL_CALL OTable::supportsService( const OUString& _rServiceName ) { return cppu::supportsService(this, _rServiceName); } @@ -123,7 +123,7 @@ void SAL_CALL OTable::release() throw() } -Any SAL_CALL OTable::queryInterface( const Type & rType ) throw(RuntimeException, std::exception) +Any SAL_CALL OTable::queryInterface( const Type & rType ) { Any aRet = ODescriptor::queryInterface( rType); if(!aRet.hasValue()) @@ -138,7 +138,7 @@ Any SAL_CALL OTable::queryInterface( const Type & rType ) throw(RuntimeException return aRet; } -Sequence< Type > SAL_CALL OTable::getTypes( ) throw(RuntimeException, std::exception) +Sequence< Type > SAL_CALL OTable::getTypes( ) { if(isNew()) return ::comphelper::concatSequences(ODescriptor::getTypes(),OTableDescriptor_BASE::getTypes()); @@ -162,7 +162,7 @@ void SAL_CALL OTable::disposing() } // XColumnsSupplier -Reference< XNameAccess > SAL_CALL OTable::getColumns( ) throw(RuntimeException, std::exception) +Reference< XNameAccess > SAL_CALL OTable::getColumns( ) { ::osl::MutexGuard aGuard(m_aMutex); checkDisposed(OTableDescriptor_BASE::rBHelper.bDisposed); @@ -187,7 +187,7 @@ Reference< XNameAccess > SAL_CALL OTable::getColumns( ) throw(RuntimeException, // XKeysSupplier -Reference< XIndexAccess > SAL_CALL OTable::getKeys( ) throw(RuntimeException, std::exception) +Reference< XIndexAccess > SAL_CALL OTable::getKeys( ) { ::osl::MutexGuard aGuard(m_aMutex); checkDisposed(OTableDescriptor_BASE::rBHelper.bDisposed); @@ -223,7 +223,7 @@ cppu::IPropertyArrayHelper & OTable::getInfoHelper() return *getArrayHelper(isNew() ? 1 : 0); } -Reference< XPropertySet > SAL_CALL OTable::createDataDescriptor( ) throw(RuntimeException, std::exception) +Reference< XPropertySet > SAL_CALL OTable::createDataDescriptor( ) { ::osl::MutexGuard aGuard(m_aMutex); checkDisposed(OTableDescriptor_BASE::rBHelper.bDisposed); @@ -234,7 +234,7 @@ Reference< XPropertySet > SAL_CALL OTable::createDataDescriptor( ) throw(Runtim } // XIndexesSupplier -Reference< XNameAccess > SAL_CALL OTable::getIndexes( ) throw(RuntimeException, std::exception) +Reference< XNameAccess > SAL_CALL OTable::getIndexes( ) { ::osl::MutexGuard aGuard(m_aMutex); checkDisposed(OTableDescriptor_BASE::rBHelper.bDisposed); @@ -258,7 +258,7 @@ Reference< XNameAccess > SAL_CALL OTable::getIndexes( ) throw(RuntimeException, } // XRename -void SAL_CALL OTable::rename( const OUString& newName ) throw(SQLException, ElementExistException, RuntimeException, std::exception) +void SAL_CALL OTable::rename( const OUString& newName ) { ::osl::MutexGuard aGuard(m_aMutex); checkDisposed(OTableDescriptor_BASE::rBHelper.bDisposed); @@ -279,22 +279,22 @@ Reference< XDatabaseMetaData> OTable::getMetaData() const } // XAlterTable -void SAL_CALL OTable::alterColumnByName( const OUString& /*colName*/, const Reference< XPropertySet >& /*descriptor*/ ) throw(SQLException, NoSuchElementException, RuntimeException, std::exception) +void SAL_CALL OTable::alterColumnByName( const OUString& /*colName*/, const Reference< XPropertySet >& /*descriptor*/ ) { throwFeatureNotImplementedSQLException( "XAlterTable::alterColumnByName", *this ); } -void SAL_CALL OTable::alterColumnByIndex( sal_Int32 /*index*/, const Reference< XPropertySet >& /*descriptor*/ ) throw(SQLException, css::lang::IndexOutOfBoundsException, RuntimeException, std::exception) +void SAL_CALL OTable::alterColumnByIndex( sal_Int32 /*index*/, const Reference< XPropertySet >& /*descriptor*/ ) { throwFeatureNotImplementedSQLException( "XAlterTable::alterColumnByIndex", *this ); } -css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL OTable::getPropertySetInfo( ) throw(css::uno::RuntimeException, std::exception) +css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL OTable::getPropertySetInfo( ) { return ::cppu::OPropertySetHelper::createPropertySetInfo(getInfoHelper()); } -OUString SAL_CALL OTable::getName() throw(css::uno::RuntimeException, std::exception) +OUString SAL_CALL OTable::getName() { // this is only correct for tables who haven't a schema or catalog name OSL_ENSURE(m_CatalogName.isEmpty(),"getName(): forgot to override getName()!"); @@ -302,7 +302,7 @@ OUString SAL_CALL OTable::getName() throw(css::uno::RuntimeException, std::excep return m_Name; } -void SAL_CALL OTable::setName( const OUString& /*aName*/ ) throw(css::uno::RuntimeException, std::exception) +void SAL_CALL OTable::setName( const OUString& /*aName*/ ) { } |