From 70a51a31a751ca49f4c65bc357a2fa7e5de9d4f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Frank=20Sch=C3=B6nheit?= Date: Mon, 30 Oct 2000 06:58:03 +0000 Subject: [PATCH] acceptsURL: catch all exceptions when calling getDriver --- connectivity/source/drivers/jdbc/JDriver.cxx | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/connectivity/source/drivers/jdbc/JDriver.cxx b/connectivity/source/drivers/jdbc/JDriver.cxx index 424448e37956..45f396e6eb91 100644 --- a/connectivity/source/drivers/jdbc/JDriver.cxx +++ b/connectivity/source/drivers/jdbc/JDriver.cxx @@ -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öscht worden!");