I think localized error messages are not supported on Android:
http://developer.android.com/reference/java/lang/Throwable.html#getLocalizedMessage%28%29

But your custom formatted error messages could be a good idea.

On 12 November 2010 19:21, Rutton <rut...@web.de> wrote:
> Thanks for your kind explanation.
> The describing text is easy to realize, but what I wanted to really
> know is, how to deal with (custom formatted) exception messages. So,
> is it good practice to use the Exception e.getLocalizedMessage() and
> use the Java-mechanism to deal with that, perhaps in conjunction with
> the Android-string localization features.
>
> What I have is exception throwing code (that creates custom
> formatted / not just text values that can be retrieved from the res/*
> files). And I ask myself, what to do here the best. At somepoint an
> exception *may* bubble up to a error message to the user, and how to
> localize these the best way.
>
> Cheers,
> R.
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

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

Reply via email to