acceptsURL: catch all exceptions when calling getDriver
This commit is contained in:
@@ -2,9 +2,9 @@
|
|||||||
*
|
*
|
||||||
* $RCSfile: JDriver.cxx,v $
|
* $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
|
* The Contents of this file are made available subject to the terms of
|
||||||
* either of the following licenses
|
* 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;
|
return sal_False;
|
||||||
}
|
}
|
||||||
|
catch(Exception&)
|
||||||
|
{
|
||||||
|
return sal_False;
|
||||||
|
}
|
||||||
|
|
||||||
jboolean out(0);
|
jboolean out(0);
|
||||||
SDBThreadAttach t; OSL_ENSHURE(t.pEnv,"Java Enviroment gel<65>scht worden!");
|
SDBThreadAttach t; OSL_ENSHURE(t.pEnv,"Java Enviroment gel<65>scht worden!");
|
||||||
|
|||||||
Reference in New Issue
Block a user