How do you design error handling in a large Java application: where do you use checked exceptions, where unchecked, and how do errors reach the API client?
~4 min by voice
How to approach it
The interviewer wants to see whether you have a deliberate error-handling policy for the whole application: when to use checked, when unchecked, how not to lose the cause, how an error passes through layers and transactions, and in what form it reaches the API 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.