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

checked exceptions failed because when used properly they fossilize method signatures. they're fine if your code will never be changed and they're fine when you control 100% of users of the throwing code. if you're distributing a library... no bueno.




That’s just not true. They required that you use hierarchical exception types and define your own library exception type that you declare at the boundary.

The same is required for any principled error handling.




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

Search: