Yes. The assumption here is that you are not interrupting it yourself (there's no need here), and someone else interrupting it would be bad. You could log it, but it's a rather remote possibility.
If, on the other hand, you're making a library, you might want to take a different option at that point, perhaps setting the flag as complete, or perhaps rethrowing the exception. On Jan 9, 12:22 am, Kostya Vasilyev <kmans...@gmail.com> wrote: > 08.01.2011 10:37, Bob Kerns пишет: > > > Memorize this pattern! If you're using notify/wait, it should ALWAYS > > look something like this. > > Always - except unless you actually want to respect the meaning of > InterruptedException and unwind the code around wait() to the caller, > canceling the operation. > > -- > Kostya Vasilyev -- WiFi Manager + pretty widget > --http://kmansoft.wordpress.com -- 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