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 | |
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')
99 files changed, 341 insertions, 341 deletions
diff --git a/dbaccess/source/core/api/FilteredContainer.cxx b/dbaccess/source/core/api/FilteredContainer.cxx index 9f5fe4c824b8..5cb93dd40bf9 100644 --- a/dbaccess/source/core/api/FilteredContainer.cxx +++ b/dbaccess/source/core/api/FilteredContainer.cxx @@ -156,7 +156,7 @@ sal_Int32 createWildCardVector(Sequence< OUString >& _rTableFilter, std::vector< } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } _io_tableInfo.sType = OptionalString( sTypeName ); } @@ -253,7 +253,7 @@ sal_Int32 createWildCardVector(Sequence< OUString >& _rTableFilter, std::vector< } catch(SQLException&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } m_xMasterContainer = _rxMasterContainer; @@ -359,7 +359,7 @@ sal_Int32 createWildCardVector(Sequence< OUString >& _rTableFilter, std::vector< } catch (const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); disposing(); return; } diff --git a/dbaccess/source/core/api/RowSet.cxx b/dbaccess/source/core/api/RowSet.cxx index 19667868b8d2..77abccbaf3e1 100644 --- a/dbaccess/source/core/api/RowSet.cxx +++ b/dbaccess/source/core/api/RowSet.cxx @@ -572,7 +572,7 @@ void ORowSet::freeResources( bool _bComplete ) try { ::comphelper::disposeComponent( m_xComposer ); } catch(Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); m_xComposer = nullptr; } @@ -1519,7 +1519,7 @@ Reference< XIndexAccess > SAL_CALL ORowSet::getParameters( ) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -1552,7 +1552,7 @@ void ORowSet::approveExecution() catch ( const RowSetVetoException& ) { throw; } catch ( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } } @@ -1681,7 +1681,7 @@ void ORowSet::impl_ensureStatement_throw() OUString sInfo(DBA_RES_PARAM( RID_STR_COMMAND_LEADING_TO_ERROR, "$command$", sCommandToExecute ) ); aError.append( SQLExceptionInfo::TYPE::SQLContext, sInfo ); } - catch( const Exception& ) { DBG_UNHANDLED_EXCEPTION(); } + catch( const Exception& ) { DBG_UNHANDLED_EXCEPTION("dbaccess"); } // propagate aError.doThrow(); @@ -1765,7 +1765,7 @@ void ORowSet::impl_initializeColumnSettings_nothrow( const Reference< XPropertyS } catch(Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); return; } @@ -1809,7 +1809,7 @@ void ORowSet::impl_initializeColumnSettings_nothrow( const Reference< XPropertyS } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -2261,7 +2261,7 @@ Reference< XNameAccess > ORowSet::impl_getTables_throw() } catch(SQLException&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } m_pTables = new OTableContainer(*this,m_aMutex,m_xActiveConnection,bCase,nullptr,nullptr,m_nInAppend); @@ -2284,7 +2284,7 @@ void ORowSet::impl_resetTables_nothrow() } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } DELETEZ( m_pTables ); diff --git a/dbaccess/source/core/api/SingleSelectQueryComposer.cxx b/dbaccess/source/core/api/SingleSelectQueryComposer.cxx index f55d8c3e48d4..46f59d6d2c08 100644 --- a/dbaccess/source/core/api/SingleSelectQueryComposer.cxx +++ b/dbaccess/source/core/api/SingleSelectQueryComposer.cxx @@ -347,7 +347,7 @@ void SAL_CALL OSingleSelectQueryComposer::setCommand( const OUString& Command,sa } catch(Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } sSQL.append(dbtools::composeTableNameForSelect(m_xConnection,xTable)); @@ -606,7 +606,7 @@ void SAL_CALL OSingleSelectQueryComposer::setElementaryQuery( const OUString& _r catch( const Exception& ) { SAL_WARN("dbaccess", "OSingleSelectQueryComposer::setElementaryQuery: there should be no error anymore for the additive statement!" ); - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); // every part of the additive statement should have passed other tests already, and should not // be able to cause any errors ... me thinks } @@ -796,7 +796,7 @@ Reference< XNameAccess > SAL_CALL OSingleSelectQueryComposer::getColumns( ) xStatement.reset( Reference< XStatement >( m_xConnection->createStatement(), UNO_QUERY_THROW ) ); Reference< XPropertySet > xStatementProps( xStatement, UNO_QUERY_THROW ); try { xStatementProps->setPropertyValue( PROPERTY_ESCAPE_PROCESSING, makeAny( false ) ); } - catch ( const Exception& ) { DBG_UNHANDLED_EXCEPTION(); } + catch ( const Exception& ) { DBG_UNHANDLED_EXCEPTION("dbaccess"); } xResMetaDataSup.set( xStatement->executeQuery( sSQL ), UNO_QUERY_THROW ); xResultSetMeta.set( xResMetaDataSup->getMetaData(), UNO_QUERY_THROW ); } diff --git a/dbaccess/source/core/api/View.cxx b/dbaccess/source/core/api/View.cxx index e70f95d8e9ba..3207dd5a1188 100644 --- a/dbaccess/source/core/api/View.cxx +++ b/dbaccess/source/core/api/View.cxx @@ -61,7 +61,7 @@ namespace dbaccess } catch(const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } diff --git a/dbaccess/source/core/api/columnsettings.cxx b/dbaccess/source/core/api/columnsettings.cxx index 1f2c5cadfecc..6abe2abcc7cd 100644 --- a/dbaccess/source/core/api/columnsettings.cxx +++ b/dbaccess/source/core/api/columnsettings.cxx @@ -142,7 +142,7 @@ namespace dbaccess } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } return true; } diff --git a/dbaccess/source/core/api/definitioncolumn.cxx b/dbaccess/source/core/api/definitioncolumn.cxx index b99b7b199b81..cce34d3227db 100644 --- a/dbaccess/source/core/api/definitioncolumn.cxx +++ b/dbaccess/source/core/api/definitioncolumn.cxx @@ -257,7 +257,7 @@ Reference< XPropertySet > OQueryColumn::impl_determineOriginalTableColumn( const } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } return xOriginalTableColumn; } @@ -307,7 +307,7 @@ void SAL_CALL OQueryColumn::getFastPropertyValue( Any& _rValue, sal_Int32 _nHand } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -559,7 +559,7 @@ OTableColumnWrapper::OTableColumnWrapper( const Reference< XPropertySet >& rCol, } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } osl_atomic_decrement( &m_refCount ); diff --git a/dbaccess/source/core/api/preparedstatement.cxx b/dbaccess/source/core/api/preparedstatement.cxx index 10fb3e4cc065..7080fe32b087 100644 --- a/dbaccess/source/core/api/preparedstatement.cxx +++ b/dbaccess/source/core/api/preparedstatement.cxx @@ -163,7 +163,7 @@ Reference< css::container::XNameAccess > OPreparedStatement::getColumns() } catch (const SQLException& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } m_pColumns->setInitialized(); } diff --git a/dbaccess/source/core/api/query.cxx b/dbaccess/source/core/api/query.cxx index f05569d9ba75..de12b938c00e 100644 --- a/dbaccess/source/core/api/query.cxx +++ b/dbaccess/source/core/api/query.cxx @@ -206,7 +206,7 @@ void OQuery::rebuildColumns() } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } diff --git a/dbaccess/source/core/api/resultcolumn.cxx b/dbaccess/source/core/api/resultcolumn.cxx index b517d97d0846..d0c3b979a533 100644 --- a/dbaccess/source/core/api/resultcolumn.cxx +++ b/dbaccess/source/core/api/resultcolumn.cxx @@ -93,7 +93,7 @@ void OResultColumn::impl_determineIsRowVersion_nothrow() } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } diff --git a/dbaccess/source/core/api/resultset.cxx b/dbaccess/source/core/api/resultset.cxx index 6b87e69c55a1..e7ed9e24daf8 100644 --- a/dbaccess/source/core/api/resultset.cxx +++ b/dbaccess/source/core/api/resultset.cxx @@ -309,7 +309,7 @@ namespace } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } return xDBMetaData; } @@ -351,7 +351,7 @@ Reference< css::container::XNameAccess > OResultSet::getColumns() } catch ( const SQLException& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } m_pColumns->setInitialized(); @@ -375,7 +375,7 @@ Reference< css::container::XNameAccess > OResultSet::getColumns() } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } #endif } diff --git a/dbaccess/source/core/api/statement.cxx b/dbaccess/source/core/api/statement.cxx index 54f412fcf065..1a63e8b7f99a 100644 --- a/dbaccess/source/core/api/statement.cxx +++ b/dbaccess/source/core/api/statement.cxx @@ -561,7 +561,7 @@ OUString OStatement::impl_doEscapeProcessing_nothrow( const OUString& _rSQL ) co } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } return _rSQL; @@ -580,7 +580,7 @@ bool OStatement::impl_ensureComposer_nothrow() const } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } return m_xComposer.is(); diff --git a/dbaccess/source/core/api/tablecontainer.cxx b/dbaccess/source/core/api/tablecontainer.cxx index 499720524008..61b182bc25ac 100644 --- a/dbaccess/source/core/api/tablecontainer.cxx +++ b/dbaccess/source/core/api/tablecontainer.cxx @@ -121,7 +121,7 @@ void OTableContainer::removeMasterContainerListener() } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -442,7 +442,7 @@ void OTableContainer::addMasterContainerListener() } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } diff --git a/dbaccess/source/core/dataaccess/ModelImpl.cxx b/dbaccess/source/core/dataaccess/ModelImpl.cxx index 68439e8b71fb..d7e47ad61b05 100644 --- a/dbaccess/source/core/dataaccess/ModelImpl.cxx +++ b/dbaccess/source/core/dataaccess/ModelImpl.cxx @@ -169,7 +169,7 @@ void DocumentStorageAccess::dispose() } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -204,7 +204,7 @@ Reference< XStorage > DocumentStorageAccess::impl_openSubStorage_nothrow( const } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } return xStorage; @@ -222,7 +222,7 @@ void DocumentStorageAccess::disposeStorages() } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } m_aExposedStorages.clear(); @@ -260,7 +260,7 @@ bool DocumentStorageAccess::commitEmbeddedStorage( bool _bPreventRootCommits ) } catch( Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } if ( _bPreventRootCommits ) @@ -466,7 +466,7 @@ void ODatabaseModelImpl::impl_construct_nothrow() } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } m_rDBContext.appendAtTerminateListener(*this); } @@ -536,7 +536,7 @@ namespace } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); // be on the safe side: If we can't reliably determine whether there are macros, // assume there actually are. Better this way, than the other way round. bSomeDocHasMacros = true; @@ -563,7 +563,7 @@ bool ODatabaseModelImpl::objectHasMacros( const Reference< XStorage >& _rxContai } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } return bHasMacros; } @@ -629,7 +629,7 @@ void ODatabaseModelImpl::clearConnections() } catch(const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } } @@ -651,7 +651,7 @@ void ODatabaseModelImpl::dispose() } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } m_xDataSource = WeakReference<XDataSource>(); m_xModel = WeakReference< XModel >(); @@ -680,7 +680,7 @@ void ODatabaseModelImpl::dispose() } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } if ( m_pStorageAccess.is() ) @@ -803,7 +803,7 @@ Reference< XStorage > const & ODatabaseModelImpl::getOrCreateRootStorage() } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } } @@ -855,7 +855,7 @@ bool ODatabaseModelImpl::commitStorageIfWriteable_ignoreErrors( const Reference< } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } return bSuccess; } @@ -875,7 +875,7 @@ void ODatabaseModelImpl::setModified( bool _bModified ) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -913,7 +913,7 @@ Reference< XModel > ODatabaseModelImpl::createNewModel_deliverOwnership() } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } if ( bHadModelBefore ) @@ -1227,7 +1227,7 @@ sal_Int16 ODatabaseModelImpl::getCurrentMacroExecMode() const } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } return nCurrentMode; } diff --git a/dbaccess/source/core/dataaccess/connection.cxx b/dbaccess/source/core/dataaccess/connection.cxx index c56b2e027b0a..95999104e9f8 100644 --- a/dbaccess/source/core/dataaccess/connection.cxx +++ b/dbaccess/source/core/dataaccess/connection.cxx @@ -291,7 +291,7 @@ OConnection::OConnection(ODatabaseSource& _rDB } catch(const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } m_xTableUIProvider.set(m_xMasterConnection, css::uno::UNO_QUERY); @@ -352,7 +352,7 @@ OConnection::OConnection(ODatabaseSource& _rDB } catch(const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } osl_atomic_decrement( &m_refCount ); } @@ -778,7 +778,7 @@ void OConnection::impl_checkTableQueryNames_nothrow() } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } diff --git a/dbaccess/source/core/dataaccess/databasecontext.cxx b/dbaccess/source/core/dataaccess/databasecontext.cxx index 784bfe896537..1b55e47b4bd8 100644 --- a/dbaccess/source/core/dataaccess/databasecontext.cxx +++ b/dbaccess/source/core/dataaccess/databasecontext.cxx @@ -132,7 +132,7 @@ namespace dbaccess } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -415,7 +415,7 @@ void ODatabaseContext::setTransientProperties(const OUString& _sURL, ODatabaseMo } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -475,7 +475,7 @@ void ODatabaseContext::storeTransientProperties( ODatabaseModelImpl& _rModelImpl } catch ( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } // additionally, remember the "failed password", which is not available as property diff --git a/dbaccess/source/core/dataaccess/databasedocument.cxx b/dbaccess/source/core/dataaccess/databasedocument.cxx index 27a2114ae9fb..43b3c4d41d3f 100644 --- a/dbaccess/source/core/dataaccess/databasedocument.cxx +++ b/dbaccess/source/core/dataaccess/databasedocument.cxx @@ -275,7 +275,7 @@ namespace } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } _rGuard.reset(); // note that |reset| can throw a DisposedException @@ -309,7 +309,7 @@ namespace } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -433,7 +433,7 @@ void ODatabaseDocument::impl_reset_nothrow() } catch(const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } m_pImpl->m_bDocumentReadOnly = false; } @@ -623,7 +623,7 @@ sal_Bool SAL_CALL ODatabaseDocument::wasModifiedSinceLastSave() } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } return false; @@ -917,7 +917,7 @@ void SAL_CALL ODatabaseDocument::setCurrentController( const Reference< XControl } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -1442,7 +1442,7 @@ void ODatabaseDocument::impl_closeControllerFrames_nolck_throw( bool _bDeliverOw catch( const CloseVetoException& ) { throw; } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } } @@ -1463,7 +1463,7 @@ void ODatabaseDocument::impl_disposeControllerFrames_nothrow() } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } } @@ -1687,7 +1687,7 @@ void ODatabaseDocument::impl_writeStorage_throw( const Reference< XStorage >& _r } catch ( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } m_pImpl->storeLibraryContainersTo( _rxTargetStorage ); diff --git a/dbaccess/source/core/dataaccess/datasource.cxx b/dbaccess/source/core/dataaccess/datasource.cxx index 3a4d317b54e7..93e498288fb2 100644 --- a/dbaccess/source/core/dataaccess/datasource.cxx +++ b/dbaccess/source/core/dataaccess/datasource.cxx @@ -881,7 +881,7 @@ namespace } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } } @@ -988,7 +988,7 @@ void ODatabaseSource::getFastPropertyValue( Any& rValue, sal_Int32 nHandle ) con } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } break; @@ -1095,7 +1095,7 @@ Reference< XConnection > ODatabaseSource::connectWithCompletion( const Reference } catch(Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } if (!pAuthenticate->wasSelected()) @@ -1252,7 +1252,7 @@ void SAL_CALL ODatabaseSource::flush( ) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } diff --git a/dbaccess/source/core/dataaccess/definitioncontainer.cxx b/dbaccess/source/core/dataaccess/definitioncontainer.cxx index 7faf8186989f..c173226b9945 100644 --- a/dbaccess/source/core/dataaccess/definitioncontainer.cxx +++ b/dbaccess/source/core/dataaccess/definitioncontainer.cxx @@ -622,7 +622,7 @@ void SAL_CALL ODefinitionContainer::propertyChange( const PropertyChangeEvent& e } catch(const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); throw RuntimeException(); } m_bInPropertyChange = false; diff --git a/dbaccess/source/core/dataaccess/documentdefinition.cxx b/dbaccess/source/core/dataaccess/documentdefinition.cxx index 67397008486d..b48f27ba0144 100644 --- a/dbaccess/source/core/dataaccess/documentdefinition.cxx +++ b/dbaccess/source/core/dataaccess/documentdefinition.cxx @@ -151,7 +151,7 @@ namespace dbaccess } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } return sContentType; } @@ -390,7 +390,7 @@ OUString ODocumentDefinition::GetDocumentServiceFromMediaType( const OUString& _ } catch ( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } return sResult; } @@ -602,7 +602,7 @@ void ODocumentDefinition::impl_onActivateEmbeddedObject_nothrow( const bool i_bR } catch( const RuntimeException& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -724,7 +724,7 @@ void ODocumentDefinition::impl_initFormEditView( const Reference< XController >& } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -1109,7 +1109,7 @@ namespace } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } // if the element is a container itself, step down the component hierarchy @@ -1134,7 +1134,7 @@ namespace } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -1358,7 +1358,7 @@ void ODocumentDefinition::saveAs() } catch(const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } Reference<XEmbedPersist> xPersist(m_xEmbeddedObject,UNO_QUERY); @@ -1662,7 +1662,7 @@ void ODocumentDefinition::loadEmbeddedObject( const Reference< XConnection >& i_ } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } } @@ -1681,7 +1681,7 @@ void ODocumentDefinition::loadEmbeddedObject( const Reference< XConnection >& i_ } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -1732,7 +1732,7 @@ void ODocumentDefinition::onCommandGetDocumentProperties( Any& _rProps ) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } } @@ -1996,7 +1996,7 @@ bool ODocumentDefinition::prepareClose() } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } return true; @@ -2019,7 +2019,7 @@ void ODocumentDefinition::fillReportData( const Reference< XComponentContext >& } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } diff --git a/dbaccess/source/core/dataaccess/documenteventexecutor.cxx b/dbaccess/source/core/dataaccess/documenteventexecutor.cxx index 2a4bce63bf8d..2519137a0dae 100644 --- a/dbaccess/source/core/dataaccess/documenteventexecutor.cxx +++ b/dbaccess/source/core/dataaccess/documenteventexecutor.cxx @@ -129,7 +129,7 @@ namespace dbaccess } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -185,7 +185,7 @@ namespace dbaccess catch( const RuntimeException& ) { throw; } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } diff --git a/dbaccess/source/core/dataaccess/documenteventnotifier.cxx b/dbaccess/source/core/dataaccess/documenteventnotifier.cxx index e188c4f9b2c8..16b46ad6ddf8 100644 --- a/dbaccess/source/core/dataaccess/documenteventnotifier.cxx +++ b/dbaccess/source/core/dataaccess/documenteventnotifier.cxx @@ -189,7 +189,7 @@ namespace dbaccess } catch(const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } try { @@ -197,7 +197,7 @@ namespace dbaccess } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } diff --git a/dbaccess/source/core/dataaccess/intercept.cxx b/dbaccess/source/core/dataaccess/intercept.cxx index 6a0bc7b18485..c54dc9ee95a1 100644 --- a/dbaccess/source/core/dataaccess/intercept.cxx +++ b/dbaccess/source/core/dataaccess/intercept.cxx @@ -189,7 +189,7 @@ IMPL_LINK( OInterceptor, OnDispatch, void*, _pDispatcher, void ) } catch ( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } diff --git a/dbaccess/source/core/misc/ContainerMediator.cxx b/dbaccess/source/core/misc/ContainerMediator.cxx index 84532b7ab9a1..7566a935f101 100644 --- a/dbaccess/source/core/misc/ContainerMediator.cxx +++ b/dbaccess/source/core/misc/ContainerMediator.cxx @@ -91,7 +91,7 @@ void OContainerMediator::impl_cleanup_nothrow() } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -128,7 +128,7 @@ void SAL_CALL OContainerMediator::elementRemoved( const ContainerEvent& _rEvent } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } } @@ -157,7 +157,7 @@ void SAL_CALL OContainerMediator::elementReplaced( const ContainerEvent& _rEvent } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } aFind->second->setName(sNewName); @@ -184,7 +184,7 @@ void OContainerMediator::impl_initSettings_nothrow( const OUString& _rName, cons } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -223,7 +223,7 @@ void OContainerMediator::notifyElementCreated( const OUString& _sName, const Ref } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } ::rtl::Reference< OPropertyForward > pForward( new OPropertyForward( _xDest, m_xSettings, _sName, aPropertyList ) ); diff --git a/dbaccess/source/core/misc/DatabaseDataProvider.cxx b/dbaccess/source/core/misc/DatabaseDataProvider.cxx index 50bc73bb52f4..b3d151c73cfd 100644 --- a/dbaccess/source/core/misc/DatabaseDataProvider.cxx +++ b/dbaccess/source/core/misc/DatabaseDataProvider.cxx @@ -202,7 +202,7 @@ uno::Reference< chart2::data::XDataSource > SAL_CALL DatabaseDataProvider::creat } catch( const uno::Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } ::comphelper::NamedValueCollection aArgs( _aArguments ); diff --git a/dbaccess/source/core/misc/PropertyForward.cxx b/dbaccess/source/core/misc/PropertyForward.cxx index 6d3527685981..137528fb7b71 100644 --- a/dbaccess/source/core/misc/PropertyForward.cxx +++ b/dbaccess/source/core/misc/PropertyForward.cxx @@ -59,7 +59,7 @@ namespace dbaccess } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } osl_atomic_decrement( &m_refCount ); } @@ -106,7 +106,7 @@ namespace dbaccess } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -139,7 +139,7 @@ namespace dbaccess } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } diff --git a/dbaccess/source/core/misc/sdbcoretools.cxx b/dbaccess/source/core/misc/sdbcoretools.cxx index 96570276f6f9..8ab5c1f12017 100644 --- a/dbaccess/source/core/misc/sdbcoretools.cxx +++ b/dbaccess/source/core/misc/sdbcoretools.cxx @@ -90,7 +90,7 @@ namespace dbaccess } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } if ( sDisplayMessage.isEmpty() ) @@ -124,7 +124,7 @@ namespace dbaccess } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } return ( nMode & ElementModes::WRITE ) != 0; } diff --git a/dbaccess/source/core/recovery/dbdocrecovery.cxx b/dbaccess/source/core/recovery/dbdocrecovery.cxx index 8e91ddeea5ef..f58e284d7b3f 100644 --- a/dbaccess/source/core/recovery/dbdocrecovery.cxx +++ b/dbaccess/source/core/recovery/dbdocrecovery.cxx @@ -341,7 +341,7 @@ namespace dbaccess } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } diff --git a/dbaccess/source/core/recovery/subcomponentloader.cxx b/dbaccess/source/core/recovery/subcomponentloader.cxx index 2a6ee1cf9495..b48521862d51 100644 --- a/dbaccess/source/core/recovery/subcomponentloader.cxx +++ b/dbaccess/source/core/recovery/subcomponentloader.cxx @@ -107,7 +107,7 @@ namespace dbaccess } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } mxAppComponentWindow->removeWindowListener( this ); } diff --git a/dbaccess/source/core/recovery/subcomponentrecovery.cxx b/dbaccess/source/core/recovery/subcomponentrecovery.cxx index 3e8dbea7a63a..2c78afa25447 100644 --- a/dbaccess/source/core/recovery/subcomponentrecovery.cxx +++ b/dbaccess/source/core/recovery/subcomponentrecovery.cxx @@ -155,7 +155,7 @@ namespace dbaccess } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } return xCommandProcessor; } diff --git a/dbaccess/source/ext/macromigration/macromigrationdialog.cxx b/dbaccess/source/ext/macromigration/macromigrationdialog.cxx index 4edd380f1a63..1ba8a0f850be 100644 --- a/dbaccess/source/ext/macromigration/macromigrationdialog.cxx +++ b/dbaccess/source/ext/macromigration/macromigrationdialog.cxx @@ -331,7 +331,7 @@ namespace dbmm } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); bSuccess = false; } @@ -363,7 +363,7 @@ namespace dbmm } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } return bEqual; } @@ -530,7 +530,7 @@ namespace dbmm } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } // close all frames from aViews - the respective controllers have been closed, but @@ -544,7 +544,7 @@ namespace dbmm } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } aViews.clear(); diff --git a/dbaccess/source/ext/macromigration/macromigrationpages.cxx b/dbaccess/source/ext/macromigration/macromigrationpages.cxx index 143ee0a142a5..e0caf2c19e1d 100644 --- a/dbaccess/source/ext/macromigration/macromigrationpages.cxx +++ b/dbaccess/source/ext/macromigration/macromigrationpages.cxx @@ -134,7 +134,7 @@ namespace dbmm } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } diff --git a/dbaccess/source/ext/macromigration/migrationengine.cxx b/dbaccess/source/ext/macromigration/migrationengine.cxx index 75741516a5de..1c4c26f435cd 100644 --- a/dbaccess/source/ext/macromigration/migrationengine.cxx +++ b/dbaccess/source/ext/macromigration/migrationengine.cxx @@ -238,7 +238,7 @@ namespace dbmm } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } return sMimeType; } @@ -406,7 +406,7 @@ namespace dbmm } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); return false; } return true; diff --git a/dbaccess/source/filter/xml/dbloader2.cxx b/dbaccess/source/filter/xml/dbloader2.cxx index 801680548972..410c3cfa501e 100644 --- a/dbaccess/source/filter/xml/dbloader2.cxx +++ b/dbaccess/source/filter/xml/dbloader2.cxx @@ -169,7 +169,7 @@ OUString SAL_CALL DBTypeDetection::detect( css::uno::Sequence< css::beans::Prope } catch( Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -479,7 +479,7 @@ void SAL_CALL DBContentLoader::load(const Reference< XFrame > & rFrame, const OU } catch(const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); bSuccess = false; } } @@ -501,7 +501,7 @@ void SAL_CALL DBContentLoader::load(const Reference< XFrame > & rFrame, const OU } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); bSuccess = false; } } diff --git a/dbaccess/source/filter/xml/xmlComponent.cxx b/dbaccess/source/filter/xml/xmlComponent.cxx index 430e05ec9bea..7f928ab12877 100644 --- a/dbaccess/source/filter/xml/xmlComponent.cxx +++ b/dbaccess/source/filter/xml/xmlComponent.cxx @@ -97,7 +97,7 @@ OXMLComponent::OXMLComponent( ODBFilter& rImport } catch(Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } } diff --git a/dbaccess/source/filter/xml/xmlConnectionResource.cxx b/dbaccess/source/filter/xml/xmlConnectionResource.cxx index 1a27be23d25a..b1e7e36b6dd8 100644 --- a/dbaccess/source/filter/xml/xmlConnectionResource.cxx +++ b/dbaccess/source/filter/xml/xmlConnectionResource.cxx @@ -67,7 +67,7 @@ OXMLConnectionResource::OXMLConnectionResource( ODBFilter& rImport, } catch(const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } break; case XML_TOK_TYPE: diff --git a/dbaccess/source/filter/xml/xmlDataSource.cxx b/dbaccess/source/filter/xml/xmlDataSource.cxx index f6877bb103e7..6d67763b4b20 100644 --- a/dbaccess/source/filter/xml/xmlDataSource.cxx +++ b/dbaccess/source/filter/xml/xmlDataSource.cxx @@ -78,7 +78,7 @@ OXMLDataSource::OXMLDataSource( ODBFilter& rImport, } catch(const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } break; case XML_TOK_SUPPRESS_VERSION_COLUMNS: @@ -89,7 +89,7 @@ OXMLDataSource::OXMLDataSource( ODBFilter& rImport, } catch(const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } break; case XML_TOK_JAVA_DRIVER_CLASS: @@ -193,7 +193,7 @@ OXMLDataSource::OXMLDataSource( ODBFilter& rImport, } catch(const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } } diff --git a/dbaccess/source/filter/xml/xmlExport.cxx b/dbaccess/source/filter/xml/xmlExport.cxx index 29ecde32b0ce..394e01ecb96e 100644 --- a/dbaccess/source/filter/xml/xmlExport.cxx +++ b/dbaccess/source/filter/xml/xmlExport.cxx @@ -480,7 +480,7 @@ void ODBExport::exportDataSource() } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -622,7 +622,7 @@ void ODBExport::exportConnectionData() } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } SvXMLElementExport aServerDB(*this,XML_NAMESPACE_DB, XML_SERVER_DATABASE, true, true); @@ -1022,7 +1022,7 @@ void ODBExport::exportColumns(const Reference<XColumnsSupplier>& _xColSup) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -1161,7 +1161,7 @@ void ODBExport::exportAutoStyle(XPropertySet* _xProp) } catch(const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } m_aCurrentPropertyStates.clear(); } diff --git a/dbaccess/source/filter/xml/xmlFileBasedDatabase.cxx b/dbaccess/source/filter/xml/xmlFileBasedDatabase.cxx index af2b7061106f..8afd0c9190bd 100644 --- a/dbaccess/source/filter/xml/xmlFileBasedDatabase.cxx +++ b/dbaccess/source/filter/xml/xmlFileBasedDatabase.cxx @@ -106,7 +106,7 @@ OXMLFileBasedDatabase::OXMLFileBasedDatabase( ODBFilter& rImport, } catch(const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } } diff --git a/dbaccess/source/filter/xml/xmlLogin.cxx b/dbaccess/source/filter/xml/xmlLogin.cxx index 1fc9b41e0c7b..d747ef801f55 100644 --- a/dbaccess/source/filter/xml/xmlLogin.cxx +++ b/dbaccess/source/filter/xml/xmlLogin.cxx @@ -72,7 +72,7 @@ OXMLLogin::OXMLLogin( ODBFilter& rImport, } catch(const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } break; @@ -83,7 +83,7 @@ OXMLLogin::OXMLLogin( ODBFilter& rImport, } catch(const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } break; case XML_TOK_USE_SYSTEM_USER: @@ -103,14 +103,14 @@ OXMLLogin::OXMLLogin( ODBFilter& rImport, } catch(const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } break; } } catch(const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } } diff --git a/dbaccess/source/filter/xml/xmlServerDatabase.cxx b/dbaccess/source/filter/xml/xmlServerDatabase.cxx index 9e2dc236e8f8..7ce8a7e3ff9a 100644 --- a/dbaccess/source/filter/xml/xmlServerDatabase.cxx +++ b/dbaccess/source/filter/xml/xmlServerDatabase.cxx @@ -130,7 +130,7 @@ OXMLServerDatabase::OXMLServerDatabase( ODBFilter& rImport, } catch(const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } } diff --git a/dbaccess/source/filter/xml/xmlfilter.cxx b/dbaccess/source/filter/xml/xmlfilter.cxx index 2fcbb3dc365c..2be57bf4343a 100644 --- a/dbaccess/source/filter/xml/xmlfilter.cxx +++ b/dbaccess/source/filter/xml/xmlfilter.cxx @@ -128,7 +128,7 @@ ErrCode ReadThroughComponent( } catch (const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } // success! @@ -924,7 +924,7 @@ void ODBFilter::setPropertyInfo() } catch (const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } } diff --git a/dbaccess/source/sdbtools/connection/tablename.cxx b/dbaccess/source/sdbtools/connection/tablename.cxx index 9cb85bdc9760..c3ceb906b052 100644 --- a/dbaccess/source/sdbtools/connection/tablename.cxx +++ b/dbaccess/source/sdbtools/connection/tablename.cxx @@ -133,7 +133,7 @@ namespace sdbtools catch( const NoSuchElementException& ) { throw; } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); throw NoSuchElementException(); } 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()) |