summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/drivers/jdbc/tools.cxx11
1 files changed, 0 insertions, 11 deletions
diff --git a/connectivity/source/drivers/jdbc/tools.cxx b/connectivity/source/drivers/jdbc/tools.cxx
index ee21f0703797..7ed32d4a8ae6 100644
--- a/connectivity/source/drivers/jdbc/tools.cxx
+++ b/connectivity/source/drivers/jdbc/tools.cxx
@@ -194,18 +194,7 @@ bool connectivity::isExceptionOccurred(JNIEnv *pEnv,bool _bClear)
{
if ( _bClear )
pEnv->ExceptionClear();
-#if OSL_DEBUG_LEVEL > 1
- if(pEnv->IsInstanceOf(pThrowable,java_sql_SQLException_BASE::st_getMyClass()))
- {
-
- java_sql_SQLException_BASE* pException = new java_sql_SQLException_BASE(pEnv,pThrowable);
- OUString sError = pException->getMessage();
- delete pException;
- }
-#else
pEnv->DeleteLocalRef(pThrowable);
-#endif
-
}
return bRet;