Bugzilla – Attachment 59855 Details for
Bug 42982
Improve UNO API error reporting
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
A patch for copytablewizard.cxx
0001-Bug-42982-Patch-copytablewizard.cxx.patch (text/plain), 2.11 KB, created by
Abeer Sethi
on 2012-04-12 05:40:45 UTC
(
hide
)
Description:
A patch for copytablewizard.cxx
Filename:
MIME Type:
Creator:
Abeer Sethi
Created:
2012-04-12 05:40:45 UTC
Size:
2.11 KB
patch
obsolete
>From 60cdbf8766944207e6cf3b3ceb9542bb0340358d Mon Sep 17 00:00:00 2001 >From: Abeer Sethi <abeersethi.91@gmail.com> >Date: Thu, 12 Apr 2012 18:05:34 +0530 >Subject: [PATCH] Bug 42982 Patch - copytablewizard.cxx > >--- > dbaccess/source/ui/uno/copytablewizard.cxx | 6 +++--- > 1 files changed, 3 insertions(+), 3 deletions(-) > >diff --git a/dbaccess/source/ui/uno/copytablewizard.cxx b/dbaccess/source/ui/uno/copytablewizard.cxx >index 5af49b9..3933353 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 ); > >-- >1.7.5.4 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 42982
:
59811
|
59853
|
59855