exceptions: Java exception handling companion code (suppression, chaining, cost)
Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01KqJyCidz3ZgRyHABv2GVJh
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
src/broken/MultiCatchSubclass.java:8: error: Alternatives in a multi-catch statement cannot be related by subclassing
|
||||
try { f(); } catch (FileNotFoundException | IOException e) { }
|
||||
^
|
||||
Alternative FileNotFoundException is a subclass of alternative IOException
|
||||
1 error
|
||||
Reference in New Issue
Block a user