Solutionunvalidated

How can we send a generic messages instead of entire exception details to client? — I have tried to user @ControllerAdvice. Tension: exceptions are not caught inside it. Outcome: You can have a specific handler for Exception as well which can act as a catch all case.

cc1d2377-7957-480e-8bfa-591c8f38e81c

How can we send a generic messages instead of entire exception details to client? — I have tried to user @ControllerAdvice. Tension: exceptions are not caught inside it. Outcome: You can have a specific handler for Exception as well which can act as a catch all case.