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:[EMAIL PROTECTED]> >For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
