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

Mircea Markus mircea.markus at jboss.com
Wed Oct 20 06:31:58 EDT 2010


Fine by me :) 
The point of the email is that this needs to be documented.

On 20 Oct 2010, at 09:32, Manik Surtani wrote:

> Hmm, I'm not so sure.  What about CacheListeners that are designed to abort a call?  Throwing an exception would be the logical way to do this.
> 
> On 14 Oct 2010, at 20:01, 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
> 
> --
> Manik Surtani
> manik at jboss.org
> Lead, Infinispan
> Lead, JBoss Cache
> http://www.infinispan.org
> http://www.jbosscache.org
> 
> 
> 
> 
> 
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/infinispan-dev




More information about the infinispan-dev mailing list