summaryrefslogtreecommitdiff
path: root/dbaccess
diff options
context:
space:
mode:
authorAbeer Sethi <abeersethi.91@gmail.com>2012-04-12 18:05:34 +0530
committerStephan Bergmann <sbergman@redhat.com>2012-04-23 19:37:11 +0200
commit67d022ac0ce5e67565e0589f4cd9eb05a8fd5a3c (patch)
treecd21c87ca86bc319c3156ffb2f94aa0a787a7499 /dbaccess
parentc9afb3f5a7f713d34f70b680c5d4ab3db4044d1c (diff)
Bug 42982 Patch - copytablewizard.cxx
Diffstat (limited to 'dbaccess')
-rw-r--r--dbaccess/source/ui/uno/copytablewizard.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/dbaccess/source/ui/uno/copytablewizard.cxx b/dbaccess/source/ui/uno/copytablewizard.cxx
index 5af49b91f0d6..3933353b1c06 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( "CopyTableWizard::impl_createSourceStatement_throw: illegal call!", *const_cast< CopyTableWizard* >( this ));
::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("No case matched, this should not have survived the initialization phase", *const_cast< CopyTableWizard* >( this ));
}
return xStatement;
@@ -1165,7 +1165,7 @@ void CopyTableWizard::impl_copyRows_throw( const Reference< XResultSet >& _rxSou
{
OSL_PRECOND( m_xDestConnection.is(), "CopyTableWizard::impl_copyRows_throw: illegal call!" );
if ( !m_xDestConnection.is() )
- throw RuntimeException( ::rtl::OUString(), *this );
+ throw RuntimeException( "m_xDestConnection is set to null, CopyTableWizard::impl_copyRows_throw: illegal call!", *this );
Reference< XDatabaseMetaData > xDestMetaData( m_xDestConnection->getMetaData(), UNO_QUERY_THROW );