Thursday, March 17, 2011

[android-developers] Re: why can't catch the SocketTimeoutException

How do you know it's not caught? You are priting the stack track in
your exception handler, so I'd expect to see that in the log even if
you are catching it.

On Mar 17, 4:24 pm, a a <harvey.a...@gmail.com> wrote:
> This bug came from gallery on android.
>
> 2011/3/17 a a <harvey.a...@gmail.com>:
>
>
>
> > no, it's not re-thrown, just can't catch the SockectTimeoutException.
>
> > 2011/3/17 Kostya Vasilyev <kmans...@gmail.com>:
> >> Ah (typing from the phone).
>
> >> Try catching AssertionError - looks that's how it gets re-thrown.
>
> >> 17.03.2011 8:57 пользователь "a a" <harvey.a...@gmail.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+unsubscribe@googlegroups.com
> >> For more options, visit this group at
> >>http://groups.google.com/group/android-developers?hl=en- Hide quoted text -
>
> - Show quoted text -

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment