Skip to content

The catch block that hides the bug

A method wraps its body in try { ... } catch (Exception e) { } so it never crashes. Later a data-corruption bug takes two days to find.

What is the error in reasoning?