harbor run -t openthoughts/tasktrove-exp-rpt-nemotron-junit-nemotron-junit-0814harbor download openthoughts/tasktrove-exp-rpt-nemotron-junit-nemotron-junit-0814Task: Implement a minimal Spring MVC module with custom exception handling to satisfy the provided tests.
Location: /app/
What to build and how it should behave
Implement a Spring MVC controller with four endpoints under /test/:
Create two custom runtime exceptions:
Implement a global exception handler (ControllerAdvice) that maps exceptions to HTTP responses:
Ensure the response bodies match exactly what the tests expect:
Configuration and wiring
Files to add (package paths within /app/)
Validation criteria (how the tests will pass)
Notes