summaryrefslogtreecommitdiff
path: root/dbaccess
diff options
context:
space:
mode:
Diffstat (limited to 'dbaccess')
-rw-r--r--dbaccess/source/core/api/query.cxx2
-rw-r--r--dbaccess/source/core/dataaccess/definitioncontainer.cxx4
-rw-r--r--dbaccess/source/core/dataaccess/documentdefinition.cxx8
-rw-r--r--dbaccess/source/core/misc/ContainerMediator.cxx2
-rw-r--r--dbaccess/source/ui/dlg/DbAdminImpl.cxx2
5 files changed, 9 insertions, 9 deletions
diff --git a/dbaccess/source/core/api/query.cxx b/dbaccess/source/core/api/query.cxx
index f8b60a76cb9e..51ad61d4c0ca 100644
--- a/dbaccess/source/core/api/query.cxx
+++ b/dbaccess/source/core/api/query.cxx
@@ -90,7 +90,7 @@ OQuery::OQuery( const Reference< XPropertySet >& _rxCommandDefinition
}
catch(Exception&)
{
- OSL_FAIL("OQueryDescriptor_Base::OQueryDescriptor_Base: caught an exception!");
+ TOOLS_WARN_EXCEPTION("dbaccess", "OQueryDescriptor_Base::OQueryDescriptor_Base");
}
m_xCommandDefinition->addPropertyChangeListener(OUString(), this);
diff --git a/dbaccess/source/core/dataaccess/definitioncontainer.cxx b/dbaccess/source/core/dataaccess/definitioncontainer.cxx
index 6cad0402cad4..1926d7e59348 100644
--- a/dbaccess/source/core/dataaccess/definitioncontainer.cxx
+++ b/dbaccess/source/core/dataaccess/definitioncontainer.cxx
@@ -488,7 +488,7 @@ namespace
}
catch( const Exception& )
{
- OSL_FAIL( "lcl_ensureName: caught an exception while obtaining the current name!" );
+ TOOLS_WARN_EXCEPTION( "dbaccess", "lcl_ensureName: caught an exception while obtaining the current name!" );
}
// set the new name
@@ -503,7 +503,7 @@ namespace
}
catch( const Exception& )
{
- OSL_FAIL( "lcl_ensureName: caught an exception!" );
+ TOOLS_WARN_EXCEPTION( "dbaccess", "lcl_ensureName" );
}
return false;
}
diff --git a/dbaccess/source/core/dataaccess/documentdefinition.cxx b/dbaccess/source/core/dataaccess/documentdefinition.cxx
index 1530618f4b62..44d017618149 100644
--- a/dbaccess/source/core/dataaccess/documentdefinition.cxx
+++ b/dbaccess/source/core/dataaccess/documentdefinition.cxx
@@ -642,7 +642,7 @@ namespace
}
catch ( const Exception& )
{
- OSL_FAIL( "PreserveVisualAreaSize::PreserveVisualAreaSize: caught an exception!" );
+ TOOLS_WARN_EXCEPTION( "dbaccess", "PreserveVisualAreaSize::PreserveVisualAreaSize" );
}
}
}
@@ -657,7 +657,7 @@ namespace
}
catch ( const Exception& )
{
- OSL_FAIL( "PreserveVisualAreaSize::~PreserveVisualAreaSize: caught an exception!" );
+ TOOLS_WARN_EXCEPTION( "dbaccess", "PreserveVisualAreaSize::~PreserveVisualAreaSize" );
}
}
}
@@ -687,7 +687,7 @@ namespace
}
catch( const Exception& )
{
- OSL_FAIL( "LayoutManagerLock::LayoutManagerLock: caught an exception!" );
+ TOOLS_WARN_EXCEPTION( "dbaccess", "LayoutManagerLock::LayoutManagerLock" );
}
}
@@ -701,7 +701,7 @@ namespace
}
catch( const Exception& )
{
- OSL_FAIL( "LayoutManagerLock::~LayoutManagerLock: caught an exception!" );
+ TOOLS_WARN_EXCEPTION( "dbaccess", "LayoutManagerLock::~LayoutManagerLock" );
}
}
};
diff --git a/dbaccess/source/core/misc/ContainerMediator.cxx b/dbaccess/source/core/misc/ContainerMediator.cxx
index 0b06d9404ffd..ac96e77f6a78 100644
--- a/dbaccess/source/core/misc/ContainerMediator.cxx
+++ b/dbaccess/source/core/misc/ContainerMediator.cxx
@@ -56,7 +56,7 @@ OContainerMediator::OContainerMediator( const Reference< XContainer >& _xContain
}
catch(Exception&)
{
- OSL_FAIL("OContainerMediator::OContainerMediator: caught an exception!");
+ TOOLS_WARN_EXCEPTION("dbaccess", "OContainerMediator::OContainerMediator");
}
osl_atomic_decrement( &m_refCount );
}
diff --git a/dbaccess/source/ui/dlg/DbAdminImpl.cxx b/dbaccess/source/ui/dlg/DbAdminImpl.cxx
index d61c75314ecb..2645cd70373b 100644
--- a/dbaccess/source/ui/dlg/DbAdminImpl.cxx
+++ b/dbaccess/source/ui/dlg/DbAdminImpl.cxx
@@ -623,7 +623,7 @@ void ODbDataSourceAdministrationHelper::translateProperties(const Reference< XPr
}
catch(Exception&)
{
- OSL_FAIL("IsReadOnly throws an exception!");
+ TOOLS_WARN_EXCEPTION("dbaccess", "IsReadOnly throws");
}
}