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

Mircea Markus mircea.markus at jboss.com
Mon Oct 18 09:38:45 EDT 2010


Thanks - I've created https://jira.jboss.org/browse/ISPN-707
I've added it to 4.2 queue as it is a small piece of work.

On 15 Oct 2010, at 12:36, Galder Zamarreño wrote:
> +1 
> 
> On Oct 14, 2010, at 9:58 PM, Vladimir Blagojevic wrote:
> 
>> 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
>> 
>> 
>> 
>> 
>> 
>> _______________________________________________
>> infinispan-dev mailing list
>> infinispan-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/infinispan-dev
> 
> --
> Galder Zamarreño
> Sr. Software Engineer
> Infinispan, JBoss Cache
> 
> 
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/infinispan-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/infinispan-dev/attachments/20101018/de728e78/attachment-0001.html 


More information about the infinispan-dev mailing list