mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-01-14 07:43:40 +01:00
added additional error handling
Former-commit-id: 2922b534e1f11f66c0d1bdff3136b560a467e3f1
This commit is contained in:
@@ -185,6 +185,9 @@ public final class ConnectionFactory {
|
||||
DriverManager.deregisterDriver(driver);
|
||||
} catch (SQLException ex) {
|
||||
Logger.getLogger(ConnectionFactory.class.getName()).log(Level.FINE, "An error occured unloading the databse driver", ex);
|
||||
} catch (Throwable unexpected) {
|
||||
Logger.getLogger(ConnectionFactory.class.getName()).log(Level.FINE,
|
||||
"An unexpected throwable occured unloading the databse driver", unexpected);
|
||||
}
|
||||
driver = null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user