Kaydet (Commit) c7052fd4 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#983649 Uncaught exception

Change-Id: I928e8dbeeac168a02c82f2fafe881dae38ae4e3c
üst d2a3b21a
......@@ -164,7 +164,7 @@ namespace dbaui
virtual OUString SAL_CALL getDestinationTableName() throw (RuntimeException, std::exception) SAL_OVERRIDE;
virtual void SAL_CALL setDestinationTableName( const OUString& _destinationTableName ) throw (RuntimeException, std::exception) SAL_OVERRIDE;
virtual Optional< OUString > SAL_CALL getCreatePrimaryKey() throw (RuntimeException, std::exception) SAL_OVERRIDE;
virtual void SAL_CALL setCreatePrimaryKey( const Optional< OUString >& _newPrimaryKey ) throw (IllegalArgumentException, RuntimeException, std::exception) SAL_OVERRIDE;
virtual void SAL_CALL setCreatePrimaryKey( const Optional< OUString >& _newPrimaryKey ) throw (IllegalArgumentException, SQLException, RuntimeException, std::exception) SAL_OVERRIDE;
virtual sal_Bool SAL_CALL getUseHeaderLineAsColumnNames() throw (RuntimeException, std::exception) SAL_OVERRIDE;
virtual void SAL_CALL setUseHeaderLineAsColumnNames( sal_Bool _bUseHeaderLineAsColumnNames ) throw (RuntimeException, std::exception) SAL_OVERRIDE;
virtual void SAL_CALL addCopyTableListener( const Reference< XCopyTableListener >& Listener ) throw (RuntimeException, std::exception) SAL_OVERRIDE;
......@@ -492,7 +492,7 @@ Optional< OUString > SAL_CALL CopyTableWizard::getCreatePrimaryKey() throw (Runt
return m_aPrimaryKeyName;
}
void SAL_CALL CopyTableWizard::setCreatePrimaryKey( const Optional< OUString >& _newPrimaryKey ) throw (IllegalArgumentException, RuntimeException, std::exception)
void SAL_CALL CopyTableWizard::setCreatePrimaryKey( const Optional< OUString >& _newPrimaryKey ) throw (IllegalArgumentException, SQLException, RuntimeException, std::exception)
{
CopyTableAccessGuard aGuard( *this );
......
......@@ -22,9 +22,9 @@
#include <com/sun/star/ui/dialogs/XExecutableDialog.idl>
#include <com/sun/star/lang/IllegalArgumentException.idl>
#include <com/sun/star/sdbc/SQLException.idl>
#include <com/sun/star/beans/Optional.idl>
module com { module sun { module star { module sdb { module application {
interface XCopyTableListener;
......@@ -108,7 +108,8 @@ interface XCopyTableWizard : ::com::sun::star::ui::dialogs::XExecutableDialog
[attribute] ::com::sun::star::beans::Optional< string >
CreatePrimaryKey
{
set raises ( ::com::sun::star::lang::IllegalArgumentException );
set raises ( ::com::sun::star::lang::IllegalArgumentException,
::com::sun::star::sdbc::SQLException );
};
/** specifies that the first row should be used to identify column names.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment