Global Exception Handler #24
kirtimandwade20
started this conversation in
Ideas
Replies: 1 comment
-
|
i am using Custom HandlerExceptionResolver |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Spring boot allows us to provide customized global exception handling where we need not to add try catch block everwhere
we can create a separate class for handling exceptions and it also separates the exception handling code from businesss logic code.
Reference:
https://www.baeldung.com/exception-handling-for-rest-with-spring
Spring boot exception handling with AOP
https://javatechonline.com/spring-boot-errors-and-aop-annotations-with-examples/
Beta Was this translation helpful? Give feedback.
All reactions