Originally posted by Ron Newman:
You are not allowed to catch checked exceptions (such as IOException) that can never be thrown.
You are allowed to catch unchecked exceptions anywhere. In particular, you can catch Exception itself because some of its subclasses are unchecked (RuntimeException and its subclasses).
Hi everybody,
Could somebody please point to the part(s) of JLS where the aforementioned paragraph could be deduced from?
Thanks a lot