Tagged articles

@ExceptionHandler

3 articles · Page 1 of 1
Xiaolin Talks Programming
Xiaolin Talks Programming
May 29, 2026 · Backend Development

SpringBoot Global Exception Handling: Build a Clean, Unified Error Strategy

This guide walks through building a complete global exception handling system in SpringBoot using @ControllerAdvice and @ExceptionHandler, covering unified response structures, custom business exceptions, validation error handling, logging best practices, and security considerations to keep controllers clean and maintainable.

@ExceptionHandlerControllerAdviceGlobal Exception Handling
0 likes · 9 min read
SpringBoot Global Exception Handling: Build a Clean, Unified Error Strategy
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.

@ExceptionHandlerControllerAdviceInitBinder
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.

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