Pattern
Exception Handling Semantics Drift
exception-cause-mismatch-checked-handling
Exception handling semantics drift across language/runtime boundaries because causes are rewrapped (e.getCause()) and resources are implicitly closed, forcing explicit checked handling and causing type-dispatch logic to misroute errors unless mapped precisely.