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

Not all exceptions are checked. This kind of ruins the whole point. IllegalArgumentException for example is very common and would be what you’d use for a bad input to something like new URL(). So it’s a very common exception to see, maybe second only to the NPE, and yet it won’t be checked. What the fuck is the point then?


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

Search: