[ 
https://issues.apache.org/jira/browse/POOL-395?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Arash Nikoo updated POOL-395:
-----------------------------
    Description: 
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

  was:
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


> 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
>
> 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)

Reply via email to