diff --git a/basic/source/uno/namecont.cxx b/basic/source/uno/namecont.cxx index a9307d2..d050124 100644 --- a/basic/source/uno/namecont.cxx +++ b/basic/source/uno/namecont.cxx @@ -300,7 +300,7 @@ void SAL_CALL NameContainer::addContainerListener( const Ref throw (RuntimeException) { if( !xListener.is() ) - throw RuntimeException(); + throw RuntimeException(OSL_FORMAT("XListener is not equal to 1")); Reference< XInterface > xIface( xListener, UNO_QUERY ); maContainerListeners.addInterface( xIface ); } diff --git a/dbaccess/source/ui/uno/copytablewizard.cxx b/dbaccess/source/ui/uno index 5af49b9..24a9644 100644 --- a/dbaccess/source/ui/uno/copytablewizard.cxx +++ b/dbaccess/source/ui/uno/copytablewizard.cxx @@ -983,7 +983,7 @@ SharedConnection CopyTableWizard::impl_extractConnection_thr { OSL_PRECOND( m_xSourceConnection.is(), "CopyTableWizard::impl_createSourceS if ( !m_xSourceConnection.is() ) - throw RuntimeException( ::rtl::OUString(), *const_cast< CopyTableWizard + throw RuntimeException( ::rtl::OUString(), *const_cast< CopyTableWizard ::utl::SharedUNOComponent< XPreparedStatement > xStatement; switch ( m_nCommandType ) @@ -1029,7 +1029,7 @@ SharedConnection CopyTableWizard::impl_extractConnection_t default: // this should not have survived initialization phase - throw RuntimeException( ::rtl::OUString(), *const_cast< CopyTableWizard + throw RuntimeException( ::rtl::OUString(), *const_cast< CopyTableWizard } return xStatement; (END) } diff --git a/dbaccess/source/ui/uno/copytablewizard.cxx b/dbaccess/source/ui/uno index 5af49b9..24a9644 100644 --- a/dbaccess/source/ui/uno/copytablewizard.cxx +++ b/dbaccess/source/ui/uno/copytablewizard.cxx @@ -983,7 +983,7 @@ SharedConnection CopyTableWizard::impl_extractConnection_thr { OSL_PRECOND( m_xSourceConnection.is(), "CopyTableWizard::impl_createSourceS if ( !m_xSourceConnection.is() ) - throw RuntimeException( ::rtl::OUString(), *const_cast< CopyTableWizard + throw RuntimeException( ::rtl::OUString(), *const_cast< CopyTableWizard ::utl::SharedUNOComponent< XPreparedStatement > xStatement; switch ( m_nCommandType ) @@ -1029,7 +1029,7 @@ SharedConnection CopyTableWizard::impl_extractConnection_t default: // this should not have survived initialization phase - throw RuntimeException( ::rtl::OUString(), *const_cast< CopyTableWizard + throw RuntimeException( ::rtl::OUString(), *const_cast< CopyTableWizard } return xStatement; (END) diff --git a/dbaccess/source/ui/uno/copytablewizard.cxx b/dbaccess/source/ui/uno/copytablewizard.cxx index 5af49b9..24a9644 100644 --- a/dbaccess/source/ui/uno/copytablewizard.cxx +++ b/dbaccess/source/ui/uno/copytablewizard.cxx @@ -983,7 +983,7 @@ SharedConnection CopyTableWizard::impl_extractConnection_throw( const Reference< { OSL_PRECOND( m_xSourceConnection.is(), "CopyTableWizard::impl_createSourceStatement_throw: illegal call!" ); if ( !m_xSourceConnection.is() ) - throw RuntimeException( ::rtl::OUString(), *const_cast< CopyTableWizard* >( this ) ); + throw RuntimeException( ::rtl::OUString(), *const_cast< CopyTableWizard* >( this ), OSL_FORMAT("CopyTableWizard::impl_createSourceStat ::utl::SharedUNOComponent< XPreparedStatement > xStatement; switch ( m_nCommandType ) @@ -1029,7 +1029,7 @@ SharedConnection CopyTableWizard::impl_extractConnection_throw( const Reference< default: // this should not have survived initialization phase - throw RuntimeException( ::rtl::OUString(), *const_cast< CopyTableWizard* >( this ) ); + throw RuntimeException( ::rtl::OUString(), *const_cast< CopyTableWizard* >( this ), OSL_FORMAT ("this should not have survived initiali } return xStatement; ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ (END) diff --git a/dbaccess/source/ui/uno/copytablewizard.cxx b/dbaccess/source/ui/uno/copytablewizard.cxx index 5af49b9..24a9644 100644 --- a/dbaccess/source/ui/uno/copytablewizard.cxx +++ b/dbaccess/source/ui/uno/copytablewizard.cxx @@ -983,7 +983,7 @@ SharedConnection CopyTableWizard::impl_extractConnection_throw( const Reference< { OSL_PRECOND( m_xSourceConnection.is(), "CopyTableWizard::impl_createSourceStatement_throw: illegal call!" ); if ( !m_xSourceConnection.is() ) - throw RuntimeException( ::rtl::OUString(), *const_cast< CopyTableWizard* >( this ) ); + throw RuntimeException( ::rtl::OUString(), *const_cast< CopyTableWizard* >( this ), OSL_FORMAT("CopyTableWizard::impl_createSourceStat ::utl::SharedUNOComponent< XPreparedStatement > xStatement; switch ( m_nCommandType ) @@ -1029,7 +1029,7 @@ SharedConnection CopyTableWizard::impl_extractConnection_throw( const Reference< default: // this should not have survived initialization phase - throw RuntimeException( ::rtl::OUString(), *const_cast< CopyTableWizard* >( this ) ); + throw RuntimeException( ::rtl::OUString(), *const_cast< CopyTableWizard* >( this ), OSL_FORMAT ("this should not have survived initiali } return xStatement;