summaryrefslogtreecommitdiff
path: root/extensions/source/abpilot/datasourcehandling.cxx
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-03-01 17:55:09 +0100
committerThomas Arnhold <thomas@arnhold.org>2011-03-02 15:00:30 +0100
commitfcfd8b64c4e427d4599dd9da4148860f732b6ec6 (patch)
tree37d4040aa4c8df9dc3d871c3509a238f4efde709 /extensions/source/abpilot/datasourcehandling.cxx
parentf6e0b00643e252001768e0b2e19de070654e9afe (diff)
Move DBG_ERROR to OSL_FAIL
Diffstat (limited to 'extensions/source/abpilot/datasourcehandling.cxx')
-rw-r--r--extensions/source/abpilot/datasourcehandling.cxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/extensions/source/abpilot/datasourcehandling.cxx b/extensions/source/abpilot/datasourcehandling.cxx
index 18108bf67..b65635bb6 100644
--- a/extensions/source/abpilot/datasourcehandling.cxx
+++ b/extensions/source/abpilot/datasourcehandling.cxx
@@ -145,7 +145,7 @@ namespace abp
}
catch(const Exception&)
{
- DBG_ERROR( "lcl_implCreateAndSetURL: caught an exception while creating the data source!" );
+ OSL_FAIL( "lcl_implCreateAndSetURL: caught an exception while creating the data source!" );
}
return aReturn;
@@ -217,7 +217,7 @@ namespace abp
}
catch( const Exception& )
{
- DBG_ERROR( "ODataSourceContext::ODataSourceContext: caught an exception!" );
+ OSL_FAIL( "ODataSourceContext::ODataSourceContext: caught an exception!" );
}
}
@@ -395,7 +395,7 @@ namespace abp
}
catch(const Exception&)
{
- DBG_ERROR( "ODataSource::registerDataSource: caught an exception while creating the data source!" );
+ OSL_FAIL( "ODataSource::registerDataSource: caught an exception while creating the data source!" );
}
}
//---------------------------------------------------------------------
@@ -412,7 +412,7 @@ namespace abp
}
catch(const Exception&)
{
- DBG_ERROR( "ODataSource::registerDataSource: caught an exception while creating the data source!" );
+ OSL_FAIL( "ODataSource::registerDataSource: caught an exception while creating the data source!" );
}
}
@@ -444,7 +444,7 @@ namespace abp
}
catch(const Exception&)
{
- DBG_ERROR( "ODataSource::remove: caught an exception while creating the data source!" );
+ OSL_FAIL( "ODataSource::remove: caught an exception while creating the data source!" );
}
}
@@ -483,7 +483,7 @@ namespace abp
m_pImpl->aTables.clear();
if ( !isConnected() )
{
- DBG_ERROR( "ODataSource::getTableNames: not connected!" );
+ OSL_FAIL( "ODataSource::getTableNames: not connected!" );
}
else
{
@@ -564,7 +564,7 @@ namespace abp
catch( const SQLException& e ) { aError <<= e; }
catch( const Exception& )
{
- DBG_ERROR( "ODataSource::connect: caught a generic exception!" );
+ OSL_FAIL( "ODataSource::connect: caught a generic exception!" );
}
// ................................................................
@@ -593,7 +593,7 @@ namespace abp
}
catch( const Exception& )
{
- DBG_ERROR( "ODataSource::connect: caught an exception while trying to display the error!" );
+ OSL_FAIL( "ODataSource::connect: caught an exception while trying to display the error!" );
}
}