Exceptions & Resource Management
Checked vs unchecked strategy, try-with-resources, and designing error handling for layered systems.
- 1✓
Checked vs unchecked exceptions — what's your position as an API designer, and why has the industry largely moved to unchecked?
senior - 2✓
How does try-with-resources work, and what problem do suppressed exceptions solve?
senior - 3✓
Design an exception-handling strategy for a layered microservice — from repository to HTTP response.
architect - 4✓
What are the classic pitfalls with finally — returns, thrown exceptions, and lost causes?
senior - 5✓
How do you design a custom exception hierarchy and error model for a large codebase?
staff