Global Exception Handling Flow

Component Inspector

Click on any component in the diagram to explore its role in the global exception handling architecture.

Simulation Legend

Incoming HTTP Request
Exception Thrown / Bubbling
Standardized ProblemDetail JSON
HTTP Req
REST Client
Spring MVC Request Lifecycle
DispatcherServlet
Front Controller
@RestController
API Endpoints
@Service
Business Logic
Global Exception Handling
@RestControllerAdvice
Global Interceptor
@ExceptionHandler
(UserNotFoundEx.class)
@ExceptionHandler
(MethodArgNotValidEx.class)
ProblemDetail (RFC 7807)
Standardized Error JSON Payload