summaryrefslogtreecommitdiff
path: root/connectivity/source/sdbcx/VTable.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'connectivity/source/sdbcx/VTable.cxx')
-rw-r--r--connectivity/source/sdbcx/VTable.cxx30
1 files changed, 15 insertions, 15 deletions
diff --git a/connectivity/source/sdbcx/VTable.cxx b/connectivity/source/sdbcx/VTable.cxx
index 95e15dc7a9dd..ff1d3eb3beba 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 (::com::sun::star::uno::RuntimeException)
+OUString SAL_CALL OTable::getImplementationName( ) throw (::com::sun::star::uno::RuntimeException, std::exception)
{
if(isNew())
return OUString("com.sun.star.sdbcx.VTableDescriptor");
@@ -48,7 +48,7 @@ OUString SAL_CALL OTable::getImplementationName( ) throw (::com::sun::star::uno
}
-::com::sun::star::uno::Sequence< OUString > SAL_CALL OTable::getSupportedServiceNames( ) throw(::com::sun::star::uno::RuntimeException)
+::com::sun::star::uno::Sequence< OUString > SAL_CALL OTable::getSupportedServiceNames( ) throw(::com::sun::star::uno::RuntimeException, std::exception)
{
::com::sun::star::uno::Sequence< OUString > aSupported(1);
if(isNew())
@@ -59,7 +59,7 @@ OUString SAL_CALL OTable::getImplementationName( ) throw (::com::sun::star::uno
return aSupported;
}
-sal_Bool SAL_CALL OTable::supportsService( const OUString& _rServiceName ) throw(::com::sun::star::uno::RuntimeException)
+sal_Bool SAL_CALL OTable::supportsService( const OUString& _rServiceName ) throw(::com::sun::star::uno::RuntimeException, std::exception)
{
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)
+Any SAL_CALL OTable::queryInterface( const Type & rType ) throw(RuntimeException, std::exception)
{
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)
+Sequence< Type > SAL_CALL OTable::getTypes( ) throw(RuntimeException, std::exception)
{
if(isNew())
return ::comphelper::concatSequences(ODescriptor::getTypes(),OTableDescriptor_BASE::getTypes());
@@ -162,7 +162,7 @@ void SAL_CALL OTable::disposing(void)
}
// XColumnsSupplier
-Reference< XNameAccess > SAL_CALL OTable::getColumns( ) throw(RuntimeException)
+Reference< XNameAccess > SAL_CALL OTable::getColumns( ) throw(RuntimeException, std::exception)
{
::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)
+Reference< XIndexAccess > SAL_CALL OTable::getKeys( ) throw(RuntimeException, std::exception)
{
::osl::MutexGuard aGuard(m_aMutex);
checkDisposed(OTableDescriptor_BASE::rBHelper.bDisposed);
@@ -223,7 +223,7 @@ cppu::IPropertyArrayHelper & OTable::getInfoHelper()
return *const_cast<OTable*>(this)->getArrayHelper(isNew() ? 1 : 0);
}
-Reference< XPropertySet > SAL_CALL OTable::createDataDescriptor( ) throw(RuntimeException)
+Reference< XPropertySet > SAL_CALL OTable::createDataDescriptor( ) throw(RuntimeException, std::exception)
{
::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)
+Reference< XNameAccess > SAL_CALL OTable::getIndexes( ) throw(RuntimeException, std::exception)
{
::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)
+void SAL_CALL OTable::rename( const OUString& newName ) throw(SQLException, ElementExistException, RuntimeException, std::exception)
{
::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)
+void SAL_CALL OTable::alterColumnByName( const OUString& /*colName*/, const Reference< XPropertySet >& /*descriptor*/ ) throw(SQLException, NoSuchElementException, RuntimeException, std::exception)
{
throwFeatureNotImplementedException( "XAlterTable::alterColumnByName", *this );
}
-void SAL_CALL OTable::alterColumnByIndex( sal_Int32 /*index*/, const Reference< XPropertySet >& /*descriptor*/ ) throw(SQLException, ::com::sun::star::lang::IndexOutOfBoundsException, RuntimeException)
+void SAL_CALL OTable::alterColumnByIndex( sal_Int32 /*index*/, const Reference< XPropertySet >& /*descriptor*/ ) throw(SQLException, ::com::sun::star::lang::IndexOutOfBoundsException, RuntimeException, std::exception)
{
throwFeatureNotImplementedException( "XAlterTable::alterColumnByIndex", *this );
}
-::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > SAL_CALL OTable::getPropertySetInfo( ) throw(::com::sun::star::uno::RuntimeException)
+::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > SAL_CALL OTable::getPropertySetInfo( ) throw(::com::sun::star::uno::RuntimeException, std::exception)
{
return ::cppu::OPropertySetHelper::createPropertySetInfo(getInfoHelper());
}
-OUString SAL_CALL OTable::getName() throw(::com::sun::star::uno::RuntimeException)
+OUString SAL_CALL OTable::getName() throw(::com::sun::star::uno::RuntimeException, std::exception)
{
// this is only correct for tables who haven't a schema or catalog name
OSL_ENSURE(m_CatalogName.isEmpty(),"getName(): forgot to overload getName()!");
@@ -302,7 +302,7 @@ OUString SAL_CALL OTable::getName() throw(::com::sun::star::uno::RuntimeExceptio
return m_Name;
}
-void SAL_CALL OTable::setName( const OUString& /*aName*/ ) throw(::com::sun::star::uno::RuntimeException)
+void SAL_CALL OTable::setName( const OUString& /*aName*/ ) throw(::com::sun::star::uno::RuntimeException, std::exception)
{
}