airavata-courses / TeamApex

Repository for TeamApex
4 stars 5 forks source link

Global exception handler #24

Closed bhandaresagar closed 8 years ago

bhandaresagar commented 8 years ago

As there is GUI part involved in the application its a good practice to have global exception handler. In spring you can have a controller with annotation @ControllerAdvice which can serve as global exception handler. This ensures no exception is reflected on UI directly.

gouravshenoy commented 8 years ago

Thank you for the suggestion @bhandaresagar We have in place a global exception handler to handle exceptions.