Episode 50 “Towards Better Checked Exceptions” [IJN]
Java’s checked exceptions are both an integral part of the language and one of its most contested features. Whether their introduction was a mistake and whether they should all be turned unchecked are frequently discussed topics but since the former is not overly relevant and the latter unlikely, this conversation isn’t moving Java forward. Instead, let’s talk about specific issues with checked exceptions and what could be done about them - from (entirely speculative) language changes to (marginally realistic) JDK/library evolution to stylistic changes.
Links:
- JEP draft for Exception Handling in switch
- two tutorials for
Either:
Make sure to also check the Duke’s Corner podcast on dev.java.
Additional resources
- Inside.java : News and views from members of the Java team at Oracle
- Dev.java : The Destination for Java Developers
- OpenJDK
- Oracle Java
For more episodes, check out Inside Java, our YouTube playlist, and follow @Java on Twitter.
Contact us here.
