Tagged articles

ExceptionHandler

2 articles · Page 1 of 1
Shepherd Advanced Notes
Shepherd Advanced Notes
Jun 24, 2024 · Backend Development

Understanding @ControllerAdvice: Usage and Underlying Implementation in Spring MVC

The article explains how @ControllerAdvice, a specialization of @Component, enables global exception handling, data binding, and model attribute preprocessing in Spring MVC, demonstrates practical code examples for @ExceptionHandler, @InitBinder, and @ModelAttribute, and dives into the DispatcherServlet internals that make these features work.

@ControllerAdviceExceptionHandlerInitBinder
0 likes · 15 min read
Understanding @ControllerAdvice: Usage and Underlying Implementation in Spring MVC
FunTester
FunTester
Mar 16, 2022 · Backend Development

Why Disruptor’s Default ExceptionHandler Crashes Your QPS and How to Fix It

When using the Disruptor library for high‑throughput testing, the default FatalExceptionHandler can repeatedly abort consumer threads on exceptions, causing QPS to drop to zero, but replacing it with an ignore handler or a custom implementation restores stability.

DisruptorExceptionHandlerJava
0 likes · 4 min read
Why Disruptor’s Default ExceptionHandler Crashes Your QPS and How to Fix It