[infinispan-dev] what happens when an event listener throws an exception

Vladimir Blagojevic vblagoje at redhat.com
Thu Oct 14 15:58:03 EDT 2010


Yes, absolutely I think! Anytime threads go into client code callbacks we should protected ourselves. There is a very easy way to do this with Proxies#newCatchThrowableProxy

Have a look!

Cheers,
Vladimir
On 2010-10-14, at 3:01 PM, Mircea Markus wrote:

> ${SUBJECT} ?
> 
> This doesn't seem to be specified in the javadoc at the moment. Looking at CacheNotifierImpl it doesn't expect such a thing to happen.
> IMO we should handle these exceptions and log them as warn. 
> One way or the other we should expect this to happen, and document it.
> wdyt?
> 
> Cheers,
> Mircea 
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/infinispan-dev

--
Vladimir Blagojevic
JBoss Clustering Team
JBoss, by Red Hat







More information about the infinispan-dev mailing list