Skip Navigation

Uniform Handling of Failure in Switch

inside.java Uniform handling of failure in switch – Inside.java

Enhance the switch construct to support case labels that match exceptions thrown during evaluation of the selector expression, providing uniform handling of normal and exceptional results.

There is a discussion on Hacker News, but feel free to comment here as well.

0
0 comments