diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-04-02 08:58:19 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-04-03 08:38:50 +0200 |
commit | 4450b2a16677431b1b9dfaa28d0b9af9e51ebdec (patch) | |
tree | 22aa13a8d13f690b8498ec4bdb502d198593fcab /dbaccess/source/ui | |
parent | d76281864b0e83812c0edf7490b1e8271e89fff5 (diff) |
pass area param to DBG_UNHANDLED_EXCEPTION
and update sallogareas plugin to enforce this
Change-Id: Id0782c8a1f619372e10d931aec3c6a4743a4c86a
Reviewed-on: https://gerrit.libreoffice.org/52249
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'dbaccess/source/ui')
57 files changed, 219 insertions, 219 deletions
diff --git a/dbaccess/source/ui/app/AppController.cxx b/dbaccess/source/ui/app/AppController.cxx index 8dcdc3d876f2..e07cf2aea470 100644 --- a/dbaccess/source/ui/app/AppController.cxx +++ b/dbaccess/source/ui/app/AppController.cxx @@ -311,7 +311,7 @@ void OApplicationController::disconnect() } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } m_xDataSourceConnection.clear(); @@ -402,7 +402,7 @@ void SAL_CALL OApplicationController::disposing() } catch(const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } clearView(); @@ -927,7 +927,7 @@ FeatureState OApplicationController::GetState(sal_uInt16 _nId) const } catch(const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } return aReturn; } @@ -953,7 +953,7 @@ namespace } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } bHandled = pApprove->wasSelected(); @@ -1376,7 +1376,7 @@ void OApplicationController::Execute(sal_uInt16 _nId, const Sequence< PropertyVa } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } InvalidateFeature(_nId); } @@ -1607,7 +1607,7 @@ void SAL_CALL OApplicationController::elementReplaced( const ContainerEvent& _rE } catch( Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } } @@ -1727,7 +1727,7 @@ bool OApplicationController::onEntryDoubleClick( SvTreeListBox const & _rTree ) } catch(const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } return false; // not handled @@ -1753,7 +1753,7 @@ bool OApplicationController::impl_isAlterableView_nothrow( const OUString& _rTab } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } return bIsAlterableView; } @@ -1996,7 +1996,7 @@ void OApplicationController::addContainerListener(const Reference<XNameAccess>& } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -2137,7 +2137,7 @@ void OApplicationController::renameEntry() } catch(const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } else @@ -2148,7 +2148,7 @@ void OApplicationController::renameEntry() } catch(const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -2215,7 +2215,7 @@ void OApplicationController::showPreviewFor(const ElementType _eType,const OUStr } catch(const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -2311,7 +2311,7 @@ bool OApplicationController::requestDrag( sal_Int8 /*_nAction*/, const Point& /* } catch(const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -2483,7 +2483,7 @@ void OApplicationController::onAttachedFrame() } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } if ( nConnectedControllers > 1 ) @@ -2536,7 +2536,7 @@ void OApplicationController::OnFirstControllerConnected() } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -2590,7 +2590,7 @@ sal_Bool SAL_CALL OApplicationController::attachModel(const Reference< XModel > } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } m_xModel = _rxModel; @@ -2613,7 +2613,7 @@ sal_Bool SAL_CALL OApplicationController::attachModel(const Reference< XModel > } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } // initial preview mode @@ -2633,7 +2633,7 @@ sal_Bool SAL_CALL OApplicationController::attachModel(const Reference< XModel > } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -2652,7 +2652,7 @@ void OApplicationController::containerFound( const Reference< XContainer >& _xCo } catch(const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -2671,7 +2671,7 @@ OUString OApplicationController::getCurrentlySelectedName(sal_Int32& _rnCommandT } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } return sName; @@ -2842,7 +2842,7 @@ void OApplicationController::impl_migrateScripts_nothrow() } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } diff --git a/dbaccess/source/ui/app/AppControllerDnD.cxx b/dbaccess/source/ui/app/AppControllerDnD.cxx index 928a67378a6b..238dcf83ebce 100644 --- a/dbaccess/source/ui/app/AppControllerDnD.cxx +++ b/dbaccess/source/ui/app/AppControllerDnD.cxx @@ -161,7 +161,7 @@ void OApplicationController::deleteTables(const std::vector< OUString>& _rList) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } if ( aErrorInfo.isValid() ) @@ -272,7 +272,7 @@ void OApplicationController::deleteObjects( ElementType _eType, const std::vecto } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -385,7 +385,7 @@ const SharedConnection& OApplicationController::ensureConnection( ::dbtools::SQL } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } if ( aError.isValid() ) { @@ -422,7 +422,7 @@ bool OApplicationController::isConnectionReadOnly() const } catch(const SQLException&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } // TODO check configuration @@ -472,7 +472,7 @@ Reference< XNameAccess > OApplicationController::getElements( ElementType _eType } catch(const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } return xElements; @@ -569,7 +569,7 @@ TransferableHelper* OApplicationController::copyObject() } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } return nullptr; } @@ -626,7 +626,7 @@ bool OApplicationController::paste( ElementType _eType, const svx::ODataAccessDe } catch(const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } Reference< XPropertySet > xQuery; @@ -650,7 +650,7 @@ bool OApplicationController::paste( ElementType _eType, const svx::ODataAccessDe catch(SQLException&) { throw; } // caught and handled by the outer catch catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } if (!bSuccess) @@ -754,7 +754,7 @@ bool OApplicationController::paste( ElementType _eType, const svx::ODataAccessDe catch(const SQLException&) { showError( SQLExceptionInfo( ::cppu::getCaughtException() ) ); } catch(const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } return false; } diff --git a/dbaccess/source/ui/app/AppControllerGen.cxx b/dbaccess/source/ui/app/AppControllerGen.cxx index fa367c373862..ef04d8c05932 100644 --- a/dbaccess/source/ui/app/AppControllerGen.cxx +++ b/dbaccess/source/ui/app/AppControllerGen.cxx @@ -129,7 +129,7 @@ void OApplicationController::convertToView(const OUString& _sName) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -151,7 +151,7 @@ void OApplicationController::pasteFormat(SotClipboardFormatId _nFormatId) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } } @@ -212,7 +212,7 @@ void OApplicationController::openDialog( const OUString& _sServiceName ) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -501,7 +501,7 @@ void OApplicationController::previewChanged( sal_Int32 _nMode ) } catch ( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } InvalidateFeature(SID_DB_APP_DISABLE_PREVIEW); @@ -554,7 +554,7 @@ OUString OApplicationController::getDatabaseName() const } catch ( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } return sDatabaseName; } @@ -585,7 +585,7 @@ void OApplicationController::onDocumentOpened( const OUString& _rName, const sal } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -720,7 +720,7 @@ void OApplicationController::doAction(sal_uInt16 _nId, const ElementOpenMode _eO } catch(const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } if ( !aSendMail.IsEmpty() ) diff --git a/dbaccess/source/ui/app/AppDetailPageHelper.cxx b/dbaccess/source/ui/app/AppDetailPageHelper.cxx index ab5e48ca90d4..082d23a652e6 100644 --- a/dbaccess/source/ui/app/AppDetailPageHelper.cxx +++ b/dbaccess/source/ui/app/AppDetailPageHelper.cxx @@ -1065,7 +1065,7 @@ void OAppDetailPageHelper::showPreview(const Reference< XContent >& _xContent) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } } diff --git a/dbaccess/source/ui/app/AppView.cxx b/dbaccess/source/ui/app/AppView.cxx index 712d962a9167..d4ebeed87eae 100644 --- a/dbaccess/source/ui/app/AppView.cxx +++ b/dbaccess/source/ui/app/AppView.cxx @@ -513,7 +513,7 @@ void OApplicationView::showPreview( const OUString& _sDataSourceName, } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } if ( m_xObject.is() ) startComponentListening(m_xObject); diff --git a/dbaccess/source/ui/app/subcomponentmanager.cxx b/dbaccess/source/ui/app/subcomponentmanager.cxx index 493339887d9c..c6d1bb33085c 100644 --- a/dbaccess/source/ui/app/subcomponentmanager.cxx +++ b/dbaccess/source/ui/app/subcomponentmanager.cxx @@ -279,7 +279,7 @@ namespace dbaui } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } return bSuccess; } @@ -306,7 +306,7 @@ namespace dbaui } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } return bSuccess; } @@ -325,7 +325,7 @@ namespace dbaui } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } } @@ -434,7 +434,7 @@ namespace dbaui } catch ( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } return empty(); diff --git a/dbaccess/source/ui/browser/brwctrlr.cxx b/dbaccess/source/ui/browser/brwctrlr.cxx index ea4f6d098364..86e65d809187 100644 --- a/dbaccess/source/ui/browser/brwctrlr.cxx +++ b/dbaccess/source/ui/browser/brwctrlr.cxx @@ -120,7 +120,7 @@ using namespace ::svt; } \ catch(Exception&) \ { \ - DBG_UNHANDLED_EXCEPTION(); \ + DBG_UNHANDLED_EXCEPTION("dbaccess"); \ } \ #define DO_SAFE( action, message ) try { action; } catch(Exception&) { SAL_WARN("dbaccess.ui",message); } ; @@ -608,7 +608,7 @@ void SbaXDataBrowserController::onStartLoading( const Reference< XLoadable >& _r } catch(const SQLException& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } } @@ -676,7 +676,7 @@ bool SbaXDataBrowserController::reloadForm( const Reference< XLoadable >& _rxLoa } catch(const SQLException& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -1212,7 +1212,7 @@ void SbaXDataBrowserController::disposing() } catch(Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } m_xParser.clear(); // don't dispose, just reset - it's owned by the RowSet @@ -1352,7 +1352,7 @@ sal_Bool SbaXDataBrowserController::approveParameter(const css::form::DatabasePa } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } return true; @@ -1427,7 +1427,7 @@ FeatureState SbaXDataBrowserController::GetState(sal_uInt16 nId) const } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } aReturn.bEnabled = bInsertPrivilege && bAllowInsertions; } @@ -1448,7 +1448,7 @@ FeatureState SbaXDataBrowserController::GetState(sal_uInt16 nId) const } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } aReturn.bEnabled = bDeletePrivilege && bAllowDeletions && ( nRowCount != 0 ) && !bInsertionRow; } @@ -1598,7 +1598,7 @@ FeatureState SbaXDataBrowserController::GetState(sal_uInt16 nId) const } catch(const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } return aReturn; @@ -1730,7 +1730,7 @@ Reference< XSingleSelectQueryComposer > SbaXDataBrowserController::createParser_ } catch ( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } return xComposer; } @@ -2386,7 +2386,7 @@ IMPL_LINK(SbaXDataBrowserController, OnCanceledNotFound, FmFoundRecordInformatio } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } try @@ -2400,7 +2400,7 @@ IMPL_LINK(SbaXDataBrowserController, OnCanceledNotFound, FmFoundRecordInformatio } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -2432,7 +2432,7 @@ void SbaXDataBrowserController::LoadFinished(bool /*bWasSynch*/) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } // switch the control to alive mode @@ -2462,7 +2462,7 @@ void SbaXDataBrowserController::initializeParser() const } catch(Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); m_xParser = nullptr; // no further handling, we ignore the error } diff --git a/dbaccess/source/ui/browser/dataview.cxx b/dbaccess/source/ui/browser/dataview.cxx index 37c4f8e879cc..18241bf19778 100644 --- a/dbaccess/source/ui/browser/dataview.cxx +++ b/dbaccess/source/ui/browser/dataview.cxx @@ -157,7 +157,7 @@ namespace dbaui } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } } diff --git a/dbaccess/source/ui/browser/dbloader.cxx b/dbaccess/source/ui/browser/dbloader.cxx index 0ac7cf20f331..97c56ae88f92 100644 --- a/dbaccess/source/ui/browser/dbloader.cxx +++ b/dbaccess/source/ui/browser/dbloader.cxx @@ -197,7 +197,7 @@ void SAL_CALL DBContentLoader::load(const Reference< XFrame > & rFrame, const OU } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } } @@ -278,7 +278,7 @@ void SAL_CALL DBContentLoader::load(const Reference< XFrame > & rFrame, const OU } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } } diff --git a/dbaccess/source/ui/browser/dsbrowserDnD.cxx b/dbaccess/source/ui/browser/dsbrowserDnD.cxx index a507065e80ef..67cc08b3e712 100644 --- a/dbaccess/source/ui/browser/dsbrowserDnD.cxx +++ b/dbaccess/source/ui/browser/dsbrowserDnD.cxx @@ -88,7 +88,7 @@ namespace dbaui } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } return nullptr; } diff --git a/dbaccess/source/ui/browser/exsrcbrw.cxx b/dbaccess/source/ui/browser/exsrcbrw.cxx index a3aca9051c72..bbd2a7e0cb6d 100644 --- a/dbaccess/source/ui/browser/exsrcbrw.cxx +++ b/dbaccess/source/ui/browser/exsrcbrw.cxx @@ -352,7 +352,7 @@ void SbaExternalSourceBrowser::Attach(const Reference< XRowSet > & xMaster) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } onStartLoading( Reference< XLoadable >( xMaster, UNO_QUERY ) ); diff --git a/dbaccess/source/ui/browser/genericcontroller.cxx b/dbaccess/source/ui/browser/genericcontroller.cxx index 1155b1ff93c9..25688f5145c4 100644 --- a/dbaccess/source/ui/browser/genericcontroller.cxx +++ b/dbaccess/source/ui/browser/genericcontroller.cxx @@ -126,7 +126,7 @@ void UserDefinedFeatures::execute( const URL& _rFeatureURL, const Sequence< Prop } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -172,7 +172,7 @@ OGenericUnoController::OGenericUnoController(const Reference< XComponentContext } catch(Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -988,7 +988,7 @@ IMPL_LINK_NOARG(OGenericUnoController, OnAsyncCloseTask, void*, void) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } } diff --git a/dbaccess/source/ui/browser/sbagrid.cxx b/dbaccess/source/ui/browser/sbagrid.cxx index 878b00ebe7f5..2acfbe8bc341 100644 --- a/dbaccess/source/ui/browser/sbagrid.cxx +++ b/dbaccess/source/ui/browser/sbagrid.cxx @@ -880,7 +880,7 @@ void SbaGridControl::SetBrowserAttrs() } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -1305,7 +1305,7 @@ sal_Int8 SbaGridControl::AcceptDrop( const BrowserAcceptDropEvent& rEvt ) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } while (false); @@ -1439,7 +1439,7 @@ IMPL_LINK_NOARG(SbaGridControl, AsynchDropEvent, void*, void) if (m_pMasterListener) m_pMasterListener->AfterDrop(); Show(); - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } if ( !bCountFinal ) setDataSource(Reference< XRowSet >(xDataSource,UNO_QUERY)); diff --git a/dbaccess/source/ui/browser/unodatbr.cxx b/dbaccess/source/ui/browser/unodatbr.cxx index bae7b9fe57d5..32e2488b672f 100644 --- a/dbaccess/source/ui/browser/unodatbr.cxx +++ b/dbaccess/source/ui/browser/unodatbr.cxx @@ -309,7 +309,7 @@ void SAL_CALL SbaTableQueryBrowser::disposing() } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } // check out from all the objects we are listening @@ -503,7 +503,7 @@ void SbaTableQueryBrowser::impl_sanitizeRowSetClauses_nothrow() } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -551,7 +551,7 @@ bool SbaTableQueryBrowser::InitializeForm( const Reference< XPropertySet > & i_f } catch ( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); return false; } @@ -795,7 +795,7 @@ void SbaTableQueryBrowser::InitializeGridModel(const Reference< css::form::XForm } catch(const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -882,7 +882,7 @@ void SbaTableQueryBrowser::propertyChange(const PropertyChangeEvent& evt) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -930,7 +930,7 @@ void SbaTableQueryBrowser::propertyChange(const PropertyChangeEvent& evt) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -1289,7 +1289,7 @@ void SbaTableQueryBrowser::connectExternalDispatches() } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -1446,7 +1446,7 @@ Any SAL_CALL SbaTableQueryBrowser::getSelection( ) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } return aReturn; @@ -1497,7 +1497,7 @@ void SbaTableQueryBrowser::attachFrame(const Reference< css::frame::XFrame > & _ } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -1742,7 +1742,7 @@ FeatureState SbaTableQueryBrowser::GetState(sal_uInt16 nId) const } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } break; @@ -1800,7 +1800,7 @@ FeatureState SbaTableQueryBrowser::GetState(sal_uInt16 nId) const } catch(const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } return aReturn; @@ -1965,7 +1965,7 @@ void SbaTableQueryBrowser::Execute(sal_uInt16 nId, const Sequence< PropertyValue } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } } @@ -2201,7 +2201,7 @@ IMPL_LINK(SbaTableQueryBrowser, OnExpandEntry, SvTreeListEntry*, _pParent, bool) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } if (aInfo.isValid()) showError(aInfo); @@ -2263,7 +2263,7 @@ bool SbaTableQueryBrowser::ensureEntryObject( SvTreeListEntry* _pEntry ) } catch(const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } bSuccess = pEntryData->xContainer.is(); @@ -2291,7 +2291,7 @@ bool SbaTableQueryBrowser::ensureEntryObject( SvTreeListEntry* _pEntry ) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } } @@ -2391,12 +2391,12 @@ bool SbaTableQueryBrowser::implLoadAnything(const OUString& _rDataSourceName, co showError( SQLExceptionInfo( e.TargetException ) ); else { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } catch(const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } InvalidateAll(); @@ -2636,7 +2636,7 @@ bool SbaTableQueryBrowser::implSelect( SvTreeListEntry* _pEntry ) } catch (Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } } @@ -2893,7 +2893,7 @@ void SbaTableQueryBrowser::impl_releaseConnection( SharedConnection& _rxConnecti } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } // clear @@ -3029,7 +3029,7 @@ namespace } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } return xDataSource.get(); } @@ -3114,7 +3114,7 @@ void SbaTableQueryBrowser::impl_initialize() } catch(const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -3424,7 +3424,7 @@ void SbaTableQueryBrowser::implAdministrate( SvTreeListEntry* _pApplyTo ) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -3541,7 +3541,7 @@ bool SbaTableQueryBrowser::implGetQuerySignature( OUString& _rCommand, bool& _bE } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } return false; @@ -3668,7 +3668,7 @@ Reference< XEmbeddedScripts > SAL_CALL SbaTableQueryBrowser::getScriptContainer( } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } Reference< XEmbeddedScripts > xScripts( xDocument, UNO_QUERY ); OSL_ENSURE( xScripts.is() || !xDocument.is(), diff --git a/dbaccess/source/ui/control/FieldDescControl.cxx b/dbaccess/source/ui/control/FieldDescControl.cxx index 25d31684b8ae..58d8fd4209e3 100644 --- a/dbaccess/source/ui/control/FieldDescControl.cxx +++ b/dbaccess/source/ui/control/FieldDescControl.cxx @@ -806,7 +806,7 @@ void OFieldDescControl::ActivateAggregate( EControlType eType ) } catch (const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } m_pColumnNameText = CreateText(STR_TAB_FIELD_NAME); m_pColumnName = VclPtr<OPropColumnEditCtrl>::Create( this, diff --git a/dbaccess/source/ui/control/RelationControl.cxx b/dbaccess/source/ui/control/RelationControl.cxx index ad2ea0ba783d..e83532d7eb46 100644 --- a/dbaccess/source/ui/control/RelationControl.cxx +++ b/dbaccess/source/ui/control/RelationControl.cxx @@ -374,7 +374,7 @@ namespace dbaui } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } void ORelationControl::setWindowTables(const OTableWindow* _pSource,const OTableWindow* _pDest) diff --git a/dbaccess/source/ui/control/tabletree.cxx b/dbaccess/source/ui/control/tabletree.cxx index 8ee5c648d37f..15a86f47f131 100644 --- a/dbaccess/source/ui/control/tabletree.cxx +++ b/dbaccess/source/ui/control/tabletree.cxx @@ -214,7 +214,7 @@ void OTableTreeListBox::UpdateTableList( } catch(Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } UpdateTableList( _rxConnection, aTables ); } @@ -304,7 +304,7 @@ void OTableTreeListBox::UpdateTableList( const Reference< XConnection >& _rxConn } catch ( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -510,7 +510,7 @@ SvTreeListEntry* OTableTreeListBox::addedTable( const OUString& _rName ) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } return nullptr; } @@ -563,7 +563,7 @@ OUString OTableTreeListBox::getQualifiedTableName( SvTreeListEntry* _pEntry ) co } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } return OUString(); } @@ -601,7 +601,7 @@ SvTreeListEntry* OTableTreeListBox::getEntryByQualifiedName( const OUString& _rN } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } return nullptr; } @@ -616,7 +616,7 @@ void OTableTreeListBox::removedTable( const OUString& _rName ) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } diff --git a/dbaccess/source/ui/dlg/CollectionView.cxx b/dbaccess/source/ui/dlg/CollectionView.cxx index a13aafa9b987..6c75204f17d4 100644 --- a/dbaccess/source/ui/dlg/CollectionView.cxx +++ b/dbaccess/source/ui/dlg/CollectionView.cxx @@ -187,7 +187,7 @@ IMPL_LINK_NOARG(OCollectionView, Save_Click, Button*, void) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -205,7 +205,7 @@ IMPL_LINK_NOARG(OCollectionView, NewFolder_Click, Button*, void) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -229,7 +229,7 @@ IMPL_LINK_NOARG(OCollectionView, Up_Click, Button*, void) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -259,7 +259,7 @@ IMPL_LINK_NOARG(OCollectionView, Dbl_Click_FileView, SvTreeListBox*, bool) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } return false; } @@ -288,7 +288,7 @@ void OCollectionView::initCurrentPath() } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } m_pUp->Enable(bEnable); } diff --git a/dbaccess/source/ui/dlg/ConnectionHelper.cxx b/dbaccess/source/ui/dlg/ConnectionHelper.cxx index e2c0f4c47903..9cdbf996afc1 100644 --- a/dbaccess/source/ui/dlg/ConnectionHelper.cxx +++ b/dbaccess/source/ui/dlg/ConnectionHelper.cxx @@ -208,7 +208,7 @@ namespace dbaui } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } break; @@ -651,7 +651,7 @@ namespace dbaui } catch ( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); return false; } diff --git a/dbaccess/source/ui/dlg/DbAdminImpl.cxx b/dbaccess/source/ui/dlg/DbAdminImpl.cxx index be9102c5e922..3f89b70a3845 100644 --- a/dbaccess/source/ui/dlg/DbAdminImpl.cxx +++ b/dbaccess/source/ui/dlg/DbAdminImpl.cxx @@ -294,7 +294,7 @@ bool ODbDataSourceAdministrationHelper::getCurrentSettings(Sequence< PropertyVal } catch(Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } if (!pAuthenticate->wasSelected()) return false; diff --git a/dbaccess/source/ui/dlg/RelationDlg.cxx b/dbaccess/source/ui/dlg/RelationDlg.cxx index 74671499048b..8229d53ea92e 100644 --- a/dbaccess/source/ui/dlg/RelationDlg.cxx +++ b/dbaccess/source/ui/dlg/RelationDlg.cxx @@ -206,7 +206,7 @@ IMPL_LINK_NOARG( ORelationDialog, OKClickHdl, Button*, void ) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } m_bTriedOneUpdate = true; diff --git a/dbaccess/source/ui/dlg/UserAdminDlg.cxx b/dbaccess/source/ui/dlg/UserAdminDlg.cxx index 59b7303aeb4c..37a1db875882 100644 --- a/dbaccess/source/ui/dlg/UserAdminDlg.cxx +++ b/dbaccess/source/ui/dlg/UserAdminDlg.cxx @@ -112,7 +112,7 @@ namespace dbaui } catch(const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } short nRet = SfxTabDialog::Execute(); if ( nRet == RET_OK ) diff --git a/dbaccess/source/ui/dlg/adtabdlg.cxx b/dbaccess/source/ui/dlg/adtabdlg.cxx index 8a97b5b0a915..ddee752f5376 100644 --- a/dbaccess/source/ui/dlg/adtabdlg.cxx +++ b/dbaccess/source/ui/dlg/adtabdlg.cxx @@ -126,7 +126,7 @@ OUString TableListFacade::getSelectedName( OUString& _out_rAliasName ) const } catch ( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } _out_rAliasName = aTableName; @@ -210,7 +210,7 @@ void TableListFacade::updateTableObjectList( bool _bAllowViews ) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -295,7 +295,7 @@ void QueryListFacade::updateTableObjectList( bool /*_bAllowViews*/ ) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } diff --git a/dbaccess/source/ui/dlg/dbwizsetup.cxx b/dbaccess/source/ui/dlg/dbwizsetup.cxx index 2f216bcfb78b..03a2e67d7092 100644 --- a/dbaccess/source/ui/dlg/dbwizsetup.cxx +++ b/dbaccess/source/ui/dlg/dbwizsetup.cxx @@ -897,7 +897,7 @@ bool ODbTypeWizDialogSetup::SaveDatabaseDocument() } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -911,7 +911,7 @@ bool ODbTypeWizDialogSetup::SaveDatabaseDocument() if ( m_xDesktop.is() ) m_xDesktop->addTerminateListener( this ); } - catch( const Exception& ) { DBG_UNHANDLED_EXCEPTION(); } + catch( const Exception& ) { DBG_UNHANDLED_EXCEPTION("dbaccess"); } m_aAsyncCaller.Call(); } @@ -947,7 +947,7 @@ bool ODbTypeWizDialogSetup::SaveDatabaseDocument() if ( m_xDesktop.is() ) m_xDesktop->removeTerminateListener( this ); } - catch( const Exception& ) { DBG_UNHANDLED_EXCEPTION(); } + catch( const Exception& ) { DBG_UNHANDLED_EXCEPTION("dbaccess"); } release(); } @@ -984,7 +984,7 @@ bool ODbTypeWizDialogSetup::SaveDatabaseDocument() } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } return true; diff --git a/dbaccess/source/ui/dlg/directsql.cxx b/dbaccess/source/ui/dlg/directsql.cxx index 7ca010ee3228..6cab0eaa90d1 100644 --- a/dbaccess/source/ui/dlg/directsql.cxx +++ b/dbaccess/source/ui/dlg/directsql.cxx @@ -244,7 +244,7 @@ namespace dbaui } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } // add the status text diff --git a/dbaccess/source/ui/dlg/dlgsave.cxx b/dbaccess/source/ui/dlg/dlgsave.cxx index 3b67391c0129..95b25438be29 100644 --- a/dbaccess/source/ui/dlg/dlgsave.cxx +++ b/dbaccess/source/ui/dlg/dlgsave.cxx @@ -163,7 +163,7 @@ void lcl_fillComboList( ComboBox& _rList, const Reference< XConnection >& _rxCon else _rList.SelectEntryPos( 0 ); } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } } diff --git a/dbaccess/source/ui/dlg/paramdialog.cxx b/dbaccess/source/ui/dlg/paramdialog.cxx index c857ab8f387e..36aa35494d20 100644 --- a/dbaccess/source/ui/dlg/paramdialog.cxx +++ b/dbaccess/source/ui/dlg/paramdialog.cxx @@ -100,7 +100,7 @@ namespace dbaui } catch(Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } Construct(); @@ -195,7 +195,7 @@ namespace dbaui } catch(Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } OUString sMessage(DBA_RES(STR_COULD_NOT_CONVERT_PARAM)); @@ -253,7 +253,7 @@ namespace dbaui } catch(Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } diff --git a/dbaccess/source/ui/dlg/queryfilter.cxx b/dbaccess/source/ui/dlg/queryfilter.cxx index 5a2a7ba3e33c..e8212deaf39c 100644 --- a/dbaccess/source/ui/dlg/queryfilter.cxx +++ b/dbaccess/source/ui/dlg/queryfilter.cxx @@ -131,7 +131,7 @@ DlgFilterCrit::DlgFilterCrit(vcl::Window * pParent, } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } m_pLB_WHEREFIELD1->InsertEntry( *pIter ); m_pLB_WHEREFIELD2->InsertEntry( *pIter ); @@ -407,7 +407,7 @@ Reference< XPropertySet > DlgFilterCrit::getColumn( const OUString& _rFieldName } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } return xColumn; @@ -424,7 +424,7 @@ Reference< XPropertySet > DlgFilterCrit::getQueryColumn( const OUString& _rField } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } return xColumn; @@ -782,7 +782,7 @@ void DlgFilterCrit::BuildWherePart() } catch(const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } diff --git a/dbaccess/source/ui/dlg/queryorder.cxx b/dbaccess/source/ui/dlg/queryorder.cxx index ebb78f2b89f6..16962ea0e0bb 100644 --- a/dbaccess/source/ui/dlg/queryorder.cxx +++ b/dbaccess/source/ui/dlg/queryorder.cxx @@ -118,7 +118,7 @@ DlgOrderCrit::DlgOrderCrit(vcl::Window * pParent, } catch(const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } EnableLines(); @@ -177,7 +177,7 @@ void DlgOrderCrit::impl_initializeOrderList_nothrow() } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } diff --git a/dbaccess/source/ui/dlg/tablespage.cxx b/dbaccess/source/ui/dlg/tablespage.cxx index d45860e4e6a8..2f4b76e46db6 100644 --- a/dbaccess/source/ui/dlg/tablespage.cxx +++ b/dbaccess/source/ui/dlg/tablespage.cxx @@ -251,7 +251,7 @@ namespace dbaui } catch(const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -338,7 +338,7 @@ namespace dbaui } catch(Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } } diff --git a/dbaccess/source/ui/misc/DExport.cxx b/dbaccess/source/ui/misc/DExport.cxx index 09776126679d..7d01589458d5 100644 --- a/dbaccess/source/ui/misc/DExport.cxx +++ b/dbaccess/source/ui/misc/DExport.cxx @@ -735,7 +735,7 @@ bool ODatabaseExport::executeWizard(const OUString& _rTableName, const Any& _aTe } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } return bError; diff --git a/dbaccess/source/ui/misc/TableCopyHelper.cxx b/dbaccess/source/ui/misc/TableCopyHelper.cxx index a3cc4546c196..1c9f5118fe62 100644 --- a/dbaccess/source/ui/misc/TableCopyHelper.cxx +++ b/dbaccess/source/ui/misc/TableCopyHelper.cxx @@ -130,7 +130,7 @@ void OTableCopyHelper::insertTable( const OUString& i_rSourceDataSource, const R } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -213,7 +213,7 @@ void OTableCopyHelper::pasteTable( SotClipboardFormatId _nFormatId } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } else diff --git a/dbaccess/source/ui/misc/TokenWriter.cxx b/dbaccess/source/ui/misc/TokenWriter.cxx index ab9e5b29be22..e38be526a494 100644 --- a/dbaccess/source/ui/misc/TokenWriter.cxx +++ b/dbaccess/source/ui/misc/TokenWriter.cxx @@ -838,7 +838,7 @@ void OHTMLImportExport::WriteTables() } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } WriteCell(pFormat[i-1],pColWidth[i-1],nHeight,pHorJustify[i-1],aValue,OOO_STRING_SVTOOLS_HTML_tabledata); } diff --git a/dbaccess/source/ui/misc/UITools.cxx b/dbaccess/source/ui/misc/UITools.cxx index 8f48e784d4ab..fec1afc95b63 100644 --- a/dbaccess/source/ui/misc/UITools.cxx +++ b/dbaccess/source/ui/misc/UITools.cxx @@ -241,7 +241,7 @@ Reference< XDataSource > getDataSourceByName( const OUString& _rDataSourceName, } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } if ( xDatasource.is() ) @@ -773,7 +773,7 @@ void callColumnFormatDialog(const Reference<XPropertySet>& xAffectedCol, } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } } @@ -1068,7 +1068,7 @@ OUString getStrippedDatabaseName(const Reference<XPropertySet>& _xDataSource,OUS } catch(const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } OUString sName = _rsDatabaseName; @@ -1224,7 +1224,7 @@ namespace } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } return sSDBCLevelStatement; } @@ -1387,7 +1387,7 @@ bool insertHierachyElement( vcl::Window* _pParent, const Reference< XComponentCo } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); return false; } @@ -1412,7 +1412,7 @@ Reference< XNumberFormatter > getNumberFormatter(const Reference< XConnection >& } catch(const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } return xFormatter; } diff --git a/dbaccess/source/ui/misc/WCopyTable.cxx b/dbaccess/source/ui/misc/WCopyTable.cxx index 191708821273..fe5b66048327 100644 --- a/dbaccess/source/ui/misc/WCopyTable.cxx +++ b/dbaccess/source/ui/misc/WCopyTable.cxx @@ -129,7 +129,7 @@ bool ObjectCopySource::isView() const } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } return bIsView; } @@ -285,7 +285,7 @@ bool NamedTableCopySource::isView() const } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } return sTableType == "VIEW"; } @@ -360,7 +360,7 @@ Sequence< OUString > NamedTableCopySource::getPrimaryKeyColumnNames() const } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } return aPKColNames; @@ -1327,13 +1327,13 @@ bool OCopyTableWizard::supportsViews( const Reference< XConnection >& _rxConnect } catch( const SQLException& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } return bSupportsViews; } @@ -1350,7 +1350,7 @@ sal_Int32 OCopyTableWizard::getMaxColumnNameLength() const } catch(const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } return nLen; @@ -1554,7 +1554,7 @@ void OCopyTableWizard::showError(const Any& _aError) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } } diff --git a/dbaccess/source/ui/misc/WTypeSelect.cxx b/dbaccess/source/ui/misc/WTypeSelect.cxx index 4507c4f7c8c2..1ac0fe566412 100644 --- a/dbaccess/source/ui/misc/WTypeSelect.cxx +++ b/dbaccess/source/ui/misc/WTypeSelect.cxx @@ -249,7 +249,7 @@ OWizTypeSelect::OWizTypeSelect( vcl::Window* pParent, SvStream* _pStream ) } catch(const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } diff --git a/dbaccess/source/ui/misc/asyncmodaldialog.cxx b/dbaccess/source/ui/misc/asyncmodaldialog.cxx index eb704b4dd9b2..2f1b3e27b194 100644 --- a/dbaccess/source/ui/misc/asyncmodaldialog.cxx +++ b/dbaccess/source/ui/misc/asyncmodaldialog.cxx @@ -65,7 +65,7 @@ namespace dbaui } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } delete this; diff --git a/dbaccess/source/ui/misc/controllerframe.cxx b/dbaccess/source/ui/misc/controllerframe.cxx index 006f0ed9cee6..93361c7a74fc 100644 --- a/dbaccess/source/ui/misc/controllerframe.cxx +++ b/dbaccess/source/ui/misc/controllerframe.cxx @@ -142,7 +142,7 @@ namespace dbaui } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -160,7 +160,7 @@ namespace dbaui } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } return bIsActive; } @@ -195,7 +195,7 @@ namespace dbaui } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -214,7 +214,7 @@ namespace dbaui } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -270,7 +270,7 @@ namespace dbaui } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } diff --git a/dbaccess/source/ui/misc/databaseobjectview.cxx b/dbaccess/source/ui/misc/databaseobjectview.cxx index 3d795f4ec134..d21365727fab 100644 --- a/dbaccess/source/ui/misc/databaseobjectview.cxx +++ b/dbaccess/source/ui/misc/databaseobjectview.cxx @@ -146,7 +146,7 @@ namespace dbaui } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } return xReturn; @@ -237,7 +237,7 @@ namespace dbaui if ( xDialog.is() ) { try { AsyncDialogExecutor::executeModalDialogAsync( xDialog ); } - catch( const Exception& ) { DBG_UNHANDLED_EXCEPTION(); } + catch( const Exception& ) { DBG_UNHANDLED_EXCEPTION("dbaccess"); } return nullptr; } @@ -257,7 +257,7 @@ namespace dbaui } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } return xDesigner; } diff --git a/dbaccess/source/ui/misc/datasourceconnector.cxx b/dbaccess/source/ui/misc/datasourceconnector.cxx index dbb566b9832e..0496a4edded4 100644 --- a/dbaccess/source/ui/misc/datasourceconnector.cxx +++ b/dbaccess/source/ui/misc/datasourceconnector.cxx @@ -111,7 +111,7 @@ namespace dbaui } catch(Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } // try to connect @@ -145,7 +145,7 @@ namespace dbaui } catch(const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } if ( !aInfo.isValid() ) @@ -172,7 +172,7 @@ namespace dbaui } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } } diff --git a/dbaccess/source/ui/misc/dbsubcomponentcontroller.cxx b/dbaccess/source/ui/misc/dbsubcomponentcontroller.cxx index 4c9b1cb156d6..136e83014e5a 100644 --- a/dbaccess/source/ui/misc/dbsubcomponentcontroller.cxx +++ b/dbaccess/source/ui/misc/dbsubcomponentcontroller.cxx @@ -287,7 +287,7 @@ namespace dbaui } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -498,7 +498,7 @@ namespace dbaui } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } return xMeta; } diff --git a/dbaccess/source/ui/misc/defaultobjectnamecheck.cxx b/dbaccess/source/ui/misc/defaultobjectnamecheck.cxx index d94f5c39c1aa..f96751c0a07b 100644 --- a/dbaccess/source/ui/misc/defaultobjectnamecheck.cxx +++ b/dbaccess/source/ui/misc/defaultobjectnamecheck.cxx @@ -107,7 +107,7 @@ namespace dbaui } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } lcl_fillNameExistsError( _rObjectName, _out_rErrorToDisplay ); diff --git a/dbaccess/source/ui/misc/imageprovider.cxx b/dbaccess/source/ui/misc/imageprovider.cxx index bcf7832a749e..681913977e97 100644 --- a/dbaccess/source/ui/misc/imageprovider.cxx +++ b/dbaccess/source/ui/misc/imageprovider.cxx @@ -69,7 +69,7 @@ namespace dbaui } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -91,7 +91,7 @@ namespace dbaui } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } } @@ -115,7 +115,7 @@ namespace dbaui } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } diff --git a/dbaccess/source/ui/misc/indexcollection.cxx b/dbaccess/source/ui/misc/indexcollection.cxx index 76e6176f0866..1ae2d2696cd3 100644 --- a/dbaccess/source/ui/misc/indexcollection.cxx +++ b/dbaccess/source/ui/misc/indexcollection.cxx @@ -173,7 +173,7 @@ namespace dbaui } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -198,7 +198,7 @@ namespace dbaui } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); return false; } @@ -300,7 +300,7 @@ namespace dbaui } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } diff --git a/dbaccess/source/ui/misc/linkeddocuments.cxx b/dbaccess/source/ui/misc/linkeddocuments.cxx index 6c4510f086dc..778d838f0443 100644 --- a/dbaccess/source/ui/misc/linkeddocuments.cxx +++ b/dbaccess/source/ui/misc/linkeddocuments.cxx @@ -197,7 +197,7 @@ namespace dbaui } catch(const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } void OLinkedDocumentsAccess::newFormWithPilot( const sal_Int32 _nCommandType,const OUString& _rObjectName ) @@ -297,7 +297,7 @@ namespace dbaui } catch(const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } return xNewDocument; diff --git a/dbaccess/source/ui/querydesign/JoinTableView.cxx b/dbaccess/source/ui/querydesign/JoinTableView.cxx index 87553e1f981a..bc17f6b6b589 100644 --- a/dbaccess/source/ui/querydesign/JoinTableView.cxx +++ b/dbaccess/source/ui/querydesign/JoinTableView.cxx @@ -300,7 +300,7 @@ TTableWindowData::value_type OJoinTableView::createTableWindowData(const OUStrin } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } return pData; } diff --git a/dbaccess/source/ui/querydesign/QueryDesignView.cxx b/dbaccess/source/ui/querydesign/QueryDesignView.cxx index f18129a85a18..60d0d92c148e 100644 --- a/dbaccess/source/ui/querydesign/QueryDesignView.cxx +++ b/dbaccess/source/ui/querydesign/QueryDesignView.cxx @@ -155,7 +155,7 @@ namespace } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -371,7 +371,7 @@ namespace } catch(const SQLException&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } return aDBName; @@ -3070,7 +3070,7 @@ bool OQueryDesignView::initByParseIterator( ::dbtools::SQLExceptionInfo* _pError } catch ( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } return eErrorCode == eOk; } diff --git a/dbaccess/source/ui/querydesign/QueryTableView.cxx b/dbaccess/source/ui/querydesign/QueryTableView.cxx index a424fabdf54d..bf149bba7c23 100644 --- a/dbaccess/source/ui/querydesign/QueryTableView.cxx +++ b/dbaccess/source/ui/querydesign/QueryTableView.cxx @@ -523,7 +523,7 @@ void OQueryTableView::AddTabWin(const OUString& _rComposedName, const OUString& } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } while ( false ); diff --git a/dbaccess/source/ui/querydesign/querycontroller.cxx b/dbaccess/source/ui/querydesign/querycontroller.cxx index a73c986b9eae..a7fa6a8d9fa6 100644 --- a/dbaccess/source/ui/querydesign/querycontroller.cxx +++ b/dbaccess/source/ui/querydesign/querycontroller.cxx @@ -639,7 +639,7 @@ void OQueryController::Execute(sal_uInt16 _nId, const Sequence< PropertyValue >& } catch(const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } if ( aError.isValid() ) @@ -1007,7 +1007,7 @@ void OQueryController::impl_initialize() } catch(const SQLException& e) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); // we caught an exception so we switch to text only mode { m_bGraphicalDesign = false; @@ -1521,7 +1521,7 @@ bool OQueryController::doSaveAsDoc(bool _bSaveAs) { if ( !bNew ) m_sName = sOriginalName; - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } showError( aInfo ); @@ -1815,7 +1815,7 @@ void OQueryController::impl_reset( const bool i_bForceCurrentControllerSettings } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } diff --git a/dbaccess/source/ui/querydesign/querydlg.cxx b/dbaccess/source/ui/querydesign/querydlg.cxx index a8c271935054..a1692b5c4c9f 100644 --- a/dbaccess/source/ui/querydesign/querydlg.cxx +++ b/dbaccess/source/ui/querydesign/querydlg.cxx @@ -268,7 +268,7 @@ IMPL_LINK_NOARG( DlgQryJoin, NaturalToggleHdl, CheckBox&, void ) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } m_pTableControl->NotifyCellChange(); m_pTableControl->Invalidate(); diff --git a/dbaccess/source/ui/relationdesign/RelationController.cxx b/dbaccess/source/ui/relationdesign/RelationController.cxx index e5a401e427f8..8256aaaaf111 100644 --- a/dbaccess/source/ui/relationdesign/RelationController.cxx +++ b/dbaccess/source/ui/relationdesign/RelationController.cxx @@ -181,7 +181,7 @@ void ORelationController::Execute(sal_uInt16 _nId, const Sequence< PropertyValue } catch ( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } } @@ -235,7 +235,7 @@ void ORelationController::impl_initialize() } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -341,7 +341,7 @@ namespace } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } } @@ -479,7 +479,7 @@ IMPL_LINK_NOARG( ORelationController, OnThreadFinished, void*, void ) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } m_pWaitObject.reset(); } @@ -525,7 +525,7 @@ void ORelationController::loadData() } catch(const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } diff --git a/dbaccess/source/ui/tabledesign/FieldDescriptions.cxx b/dbaccess/source/ui/tabledesign/FieldDescriptions.cxx index fd32987700b7..e616815e7e02 100644 --- a/dbaccess/source/ui/tabledesign/FieldDescriptions.cxx +++ b/dbaccess/source/ui/tabledesign/FieldDescriptions.cxx @@ -162,7 +162,7 @@ OFieldDescription::OFieldDescription(const Reference< XPropertySet >& xAffectedC } catch(const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } } @@ -248,7 +248,7 @@ void OFieldDescription::SetName(const OUString& _rName) } catch(const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -263,7 +263,7 @@ void OFieldDescription::SetHelpText(const OUString& _sHelpText) } catch(const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -278,7 +278,7 @@ void OFieldDescription::SetDescription(const OUString& _rDescription) } catch(const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -293,7 +293,7 @@ void OFieldDescription::SetDefaultValue(const Any& _rDefaultValue) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -308,7 +308,7 @@ void OFieldDescription::SetControlDefault(const Any& _rControlDefault) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -323,7 +323,7 @@ void OFieldDescription::SetAutoIncrementValue(const OUString& _sAutoIncValue) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -341,7 +341,7 @@ void OFieldDescription::SetType(const TOTypeInfoSP& _pType) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } } @@ -360,7 +360,7 @@ void OFieldDescription::SetTypeValue(sal_Int32 _nType) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -375,7 +375,7 @@ void OFieldDescription::SetPrecision(sal_Int32 _rPrecision) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -390,7 +390,7 @@ void OFieldDescription::SetScale(sal_Int32 _rScale) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -405,7 +405,7 @@ void OFieldDescription::SetIsNullable(sal_Int32 _rIsNullable) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -420,7 +420,7 @@ void OFieldDescription::SetFormatKey(sal_Int32 _rFormatKey) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -435,7 +435,7 @@ void OFieldDescription::SetHorJustify(const SvxCellHorJustify& _rHorJustify) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -450,7 +450,7 @@ void OFieldDescription::SetAutoIncrement(bool _bAuto) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -617,7 +617,7 @@ void OFieldDescription::SetTypeName(const OUString& _sTypeName) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } diff --git a/dbaccess/source/ui/tabledesign/TableController.cxx b/dbaccess/source/ui/tabledesign/TableController.cxx index 93b08c02ab21..6662a2a535da 100644 --- a/dbaccess/source/ui/tabledesign/TableController.cxx +++ b/dbaccess/source/ui/tabledesign/TableController.cxx @@ -412,7 +412,7 @@ bool OTableController::doSaveDoc(bool _bSaveAs) catch( const Exception& ) { bError = true; - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } if ( aInfo.isValid() ) @@ -475,7 +475,7 @@ void OTableController::doEditIndexes() } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } if (!xIndexes.is()) @@ -504,7 +504,7 @@ void OTableController::impl_initialize() } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } try @@ -526,7 +526,7 @@ void OTableController::impl_initialize() } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -718,7 +718,7 @@ void OTableController::appendColumns(Reference<XColumnsSupplier> const & _rxColS } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -1332,7 +1332,7 @@ void OTableController::dropPrimaryKey() } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } showError(aInfo); @@ -1391,7 +1391,7 @@ bool OTableController::isAddAllowed() const } catch(Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); bAddAllowed = false; } @@ -1482,7 +1482,7 @@ OUString OTableController::getPrivateTitle() const } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } return sTitle; } diff --git a/dbaccess/source/ui/uno/composerdialogs.cxx b/dbaccess/source/ui/uno/composerdialogs.cxx index b0613c60580c..20cc13839470 100644 --- a/dbaccess/source/ui/uno/composerdialogs.cxx +++ b/dbaccess/source/ui/uno/composerdialogs.cxx @@ -113,7 +113,7 @@ namespace dbaui } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } if ( !xConnection.is() || !xColumns.is() || !m_xComposer.is() ) diff --git a/dbaccess/source/ui/uno/copytablewizard.cxx b/dbaccess/source/ui/uno/copytablewizard.cxx index 076ceb4c0726..f338f7b1de54 100644 --- a/dbaccess/source/ui/uno/copytablewizard.cxx +++ b/dbaccess/source/ui/uno/copytablewizard.cxx @@ -396,9 +396,9 @@ CopyTableWizard::~CopyTableWizard() // protect some members whose dtor might potentially throw try { m_xSourceConnection.clear(); } - catch( const Exception& ) { DBG_UNHANDLED_EXCEPTION(); } + catch( const Exception& ) { DBG_UNHANDLED_EXCEPTION("dbaccess"); } try { m_xDestConnection.clear(); } - catch( const Exception& ) { DBG_UNHANDLED_EXCEPTION(); } + catch( const Exception& ) { DBG_UNHANDLED_EXCEPTION("dbaccess"); } // TODO: shouldn't we have explicit disposal support? If a listener is registered // at our instance, and perhaps holds this our instance by a hard ref, then we'll never @@ -1036,7 +1036,7 @@ bool CopyTableWizard::impl_processCopyError_nothrow( const CopyTableRowEvent& _r } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } // no listener felt responsible for the error, or a listener told to ask the user @@ -1079,7 +1079,7 @@ bool CopyTableWizard::impl_processCopyError_nothrow( const CopyTableRowEvent& _r } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } // cancel copying @@ -1416,7 +1416,7 @@ void CopyTableWizard::impl_doCopy_nothrow() } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } } diff --git a/dbaccess/source/ui/uno/dbinteraction.cxx b/dbaccess/source/ui/uno/dbinteraction.cxx index 62704b5397a5..4810d37cfcf7 100644 --- a/dbaccess/source/ui/uno/dbinteraction.cxx +++ b/dbaccess/source/ui/uno/dbinteraction.cxx @@ -146,7 +146,7 @@ namespace dbaui } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -220,7 +220,7 @@ namespace dbaui } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } void BasicInteractionHandler::implHandle(const DocumentSaveRequest& _rDocuRequest, const Sequence< Reference< XInteractionContinuation > >& _rContinuations) @@ -275,7 +275,7 @@ namespace dbaui } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } else if ( -1 != nApprovePos ) diff --git a/dbaccess/source/ui/uno/unoDirectSql.cxx b/dbaccess/source/ui/uno/unoDirectSql.cxx index 39ed8a9a5aa5..0ad0fce4166d 100644 --- a/dbaccess/source/ui/uno/unoDirectSql.cxx +++ b/dbaccess/source/ui/uno/unoDirectSql.cxx @@ -91,7 +91,7 @@ namespace dbaui } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } if (!xConnection.is()) |