On Jul 25, 11:23 pm, Zsolt Vasvari <[email protected]> wrote:
> > A checked exception is an exceptional state that you expect to happen, like
> > the user entering some wrong values, you check that ant throw the ckecked
> > exception.
>
> No, exceptions shouldn't be used as a program flow control mechanism,
> which is what your example is.

Except NumberFormatException.  That's OK.  :-)

-- 
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