On Fri, Apr 30, 2010 at 7:56 AM, Igor Drobiazko
<[email protected]> wrote:

> On Fri, Apr 30, 2010 at 2:11 AM, Howard Lewis Ship <[email protected]> wrote:
>
>> Question: what should the behavior be in the case where the method
>> throws a checked exception?  As currently written, the persistent
>> field data will still be discarded ... is that what you want?
>>
>
> Good catch. I was not sure about the behavior in case of an exception and
> hoped to get some comments. Shall we keep the values in this case?

I think it's definitely better to keep data.

> We can also add a parameter saying what to do in case of an exception. The
> param would default to "keep values".

Well i don't see a reason for a know here cause you can always perform
manual clean in case but if you want to make it knob-able set the
default to keep data indeed.

Cheers
-- 
Massimo
http://meridio.blogspot.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to