Re: [jgroups-dev] MessageDispatcher.sendMessageWithFuture()

Bela Ban <[email protected]>
Newsgroups gmane.comp.java.javagroups.devel
Message-ID <[email protected]>
No, it'll throw an Exception. The reason is the serialization could 
fail, and we need to handle that situation

[email protected] wrote:
> 3.0, cool.
>
> Just verifying, *WithFuture() calls won't (or at least shouldn't) throw
> any exceptions, right?
>
> -----Original Message-----
> From: Bela Ban [mailto:[email protected]] 
> Sent: Friday, September 17, 2010 1:07 AM
> To: Newcomb, Michael-P57487
> Cc: [email protected]
> Subject: Re: [jgroups-dev] MessageDispatcher.sendMessageWithFuture()
>
> This is on the todo lost: https://jira.jboss.org/browse/JGRP-206 for
> 3.0.
>
> I cannot replace the TimeoutException and SuspectException with a simple
>
> Exception now, because that would break existing code.
>
>
> [email protected] wrote:
>   
>> Should not throw any exceptions. They should probably be wrapped in
>> ExecutionException from the get() on the Future.
>>
>> Thanks,
>> Michael
>>
>>   
>>     
>
>   

-- 
Bela Ban
Lead JGroups / Clustering Team
JBoss


------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Javagroups-development mailing list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.