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