On Tue, Jul 26, 2011 at 1:01 PM, Nick Risaro <[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.
>
> In your case I think that your checked exception it's a "hidden" unchecked
> exception, something like a try-catch catching an unchecked exception and
> throwing back a checked one.
>

By now, it's pretty much universally accepted that checked exceptions were
a bad idea. An exception is an exception, and you either handle it or you
let it propagate up the stack. The whole checked/unchecked divide is hugely
artificial.

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