Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

>>You're throwing a generic exception; Bloch's version throws two specific exceptions, together with appropriate information. Java tends to have excellent error reporting.

I know. I reduced it to one generic exception because that is what the person I was replying to did. Bloch's version is better of course.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: