acceptsURL: catch all exceptions when calling getDriver

This commit is contained in:
Frank Schönheit
2000-10-30 06:58:03 +00:00
parent d23b336a85
commit 70a51a31a7

View File

@@ -2,9 +2,9 @@
*
* $RCSfile: JDriver.cxx,v $
*
* $Revision: 1.2 $
* $Revision: 1.3 $
*
* last change: $Author: oj $ $Date: 2000-10-24 16:31:08 $
* last change: $Author: fs $ $Date: 2000-10-30 07:58:03 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -214,6 +214,10 @@ sal_Bool SAL_CALL java_sql_Driver::acceptsURL( const ::rtl::OUString& url ) thro
{
return sal_False;
}
catch(Exception&)
{
return sal_False;
}
jboolean out(0);
SDBThreadAttach t; OSL_ENSHURE(t.pEnv,"Java Enviroment gel<65>scht worden!");