How do you organize exception handling in a Spring application: where do you catch exceptions, and when do you use checked versus unchecked exceptions?
~4 min by voice
How to approach it
This checks whether the candidate understands the difference between checked and unchecked exceptions and can choose between them deliberately. The second thing it looks at is whether they can build a coherent error-handling architecture in Spring: a domain hierarchy, a centralized handler, transactions, logging and a safe response to the client.
The interviewer will ask this question and listen. Think out loud and ask for a hint if you need one. When you're done, pause or tap “That's my answer”. In about a minute, your score and the points you covered show up here.