Are you incapable of acknowledging that there are contexts in which you cannot add a throws?
2010/9/22 Cédric Beust ♔ <[email protected]> > > > On Wed, Sep 22, 2010 at 8:11 AM, Kevin Wright <[email protected]>wrote: > >> >> Which is why unchecked exceptions are good. Checked exceptions force you >> to do something with them NOW >> > > Incorrect. You just declare them in your throws clause and you write your > code assuming that no exceptions are thrown, which leads to code that is 1) > cleaner (unpolluted by error checks) and 2) more robust (since the compiler > will make sure you handle the error case *somewhere* as opposed to just > ignoring it). > > -- > 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]<javaposse%[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.
