git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[DBCP] org.apache.commons.dbcp2.datasources.InstanceKeyDataSourceFactory.closeAll() does not close all


org.apache.commons.dbcp2.datasources.InstanceKeyDataSourceFactory.closeAll()
does not close all if one of delegated close() calls throws an exception.

I would think we would want to close all no matter what and then save the
first exception caught and rethrow it after all closes have been attempted.

Thoughts?

Gary


( ! ) Warning: include(msgfooter.php): failed to open stream: No such file or directory in /var/www/git/apache-commons-developers/msg06511.html on line 77
Call Stack
#TimeMemoryFunctionLocation
10.0006363192{main}( ).../msg06511.html:0

( ! ) Warning: include(): Failed opening 'msgfooter.php' for inclusion (include_path='.:/var/www/git') in /var/www/git/apache-commons-developers/msg06511.html on line 77
Call Stack
#TimeMemoryFunctionLocation
10.0006363192{main}( ).../msg06511.html:0