[ https://issues.apache.org/jira/browse/POOL-395?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gary D. Gregory resolved POOL-395. ---------------------------------- Fix Version/s: 2.11.0 Resolution: Fixed > Improve exception thrown in GenericObjectPool.borrowObject when pool is > exhausted > --------------------------------------------------------------------------------- > > Key: POOL-395 > URL: https://issues.apache.org/jira/browse/POOL-395 > Project: Commons Pool > Issue Type: Improvement > Affects Versions: 2.9.0 > Reporter: Arash Nikoo > Priority: Minor > Fix For: 2.11.0 > > > It would be really nice to include some additional information for the > following exception: > {code:java} > org.apache.commons.pool2.impl.GenericObjectPool.borrowObject > java.util.NoSuchElementException: Pool exhausted{code} > > I suggest showing the following parameters in the exception message: > Min=x, Max=x, MinIdle=x, MaxIdle=x, Current=x -- This message was sent by Atlassian Jira (v8.3.4#803005)