commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Juozas Baliuka <bali...@mwm.lt>
Subject Re: Why are there no Exceptions?
Date Sat, 19 Jan 2002 13:04:14 GMT
Hi,
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:
>Hi!
>
>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?
>
>Heiko
>
>
>
>--
>To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
>For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>



--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message