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

Internal errors are bugs or other conditions that the application is not expected to handle (other than, say, restart the thread a-la Erlang). Input validation is not an internal error. IllegalArgumentException is meant to represent bugs, and so an internal error, and so it is unchecked. It does not represent input validation errors.


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

Search: