On Mon, Dec 1, 2008 at 5:59 AM, dar <[EMAIL PROTECTED]> wrote:

> Is there an exception thrown if the "... next time it is read it is
> unable to parse the truncated file."?
>
> If so, we could catch the exception and explain to the users that an
> error occurred reading the preferences, therefore we need to collect
> them again, or reset their preferences to the defaults.


No, there is no exception, and really even if you tell the user why they
lost all of their preferences that doesn't make anything better for them.
Best to not let it happen at all.

-- 
Dianne Hackborn
Android framework engineer
[EMAIL PROTECTED]

Note: please don't send private questions to me, as I don't have time to
provide private support.  All such questions should be posted on public
forums, where I and others can see and answer them.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to