commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Juozas Baliuka <>
Subject Re: Why are there no Exceptions?
Date Sat, 19 Jan 2002 13:04:14 GMT
I don't know any good way to handle this kind of exception in pool,
  but please tell me if you know it, It will be very helpful  for me.
It can be some RuntimeException, but I always prefer checked exceptions.
(I am not related to this project any way, but it is very common )

At 11:37 AM 1/19/2002 +0100, you wrote:
>I have a question/suggestion concerning the pool component: Why are there 
>no Exceptions?
>For example the PoolableObjectFactory.makeObject method does not throw a 
>PoolableObjectFactoryException or something like that. But what if the 
>creation of the Object fails for some reason.
>I suggest that the lifecycle methods should all throw application 
>Exceptions. Maybe there could be a superclass like PoolException and 
>several subclasses.
>What do you think about that?
>To unsubscribe, e-mail:   <>
>For additional commands, e-mail: <>

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message