SQLException on Statement.executeXXX() methods but never thrown by Connection.close()
2011/3/24 Cédric Beust ♔ <[email protected]> > > > On Thu, Mar 24, 2011 at 10:23 AM, Josh Berry <[email protected]> wrote: > >> 2011/3/24 Cédric Beust ♔ <[email protected]>: >> > Absolutely. I think all the people who think that checked exceptions are >> a >> > "failed experiment" or a "total failure" would probably think very >> > differently if IOException and SQLException were runtime exceptions. In >> such >> > a world, runtime exceptions would be much more frequent in Java code >> bases >> > and, as a consequence, we would probably only see checked exceptions in >> > places where they are really justified, thereby magnifying their >> usefulness. >> >> Again, name a SINGLE checked exception that everyone agrees should be >> checked. >> > > FileNotFound. > > -- > Cédric > > > > -- > You received this message because you are subscribed to the Google Groups > "The Java Posse" 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/javaposse?hl=en. > -- You received this message because you are subscribed to the Google Groups "The Java Posse" 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/javaposse?hl=en.
