DEV Community

Discussion on: Handle Spring Exceptions Like A Pro

Collapse
 
jarjanazy profile image
Abdulcelil Cercenazi

Thanks for the feedback :) yeah you are right, however I've found that controller advice can also be like a final fishnet for any unexpected events.

Collapse
 
mi_native_nutt profile image
Mark

Yeah I understand what you're saying but I've got about 40 spring boot applications and I've never needed it. The default spring boot mechanism handles the majority of unexpected events.

Thread Thread
 
jarjanazy profile image
Abdulcelil Cercenazi

I have used it :D so it really depends on your work style

Thread Thread
 
mi_native_nutt profile image
Mark

Well it's not really work style it's really about if you're using spring boot techniques or Reinventing the wheel. But I mean if that's what you want to do go for it LOL