@ControllerAdvice — This annotation allows us to handle exceptions across the whole application, not just to an individual controller.
@RestControllerAdvice — This is the combination of both @ControllerAdvice and @ResponseBody. Using @RestControllerAdvice is the more convenient way for handling Exception with RestfulApi. Otherwise, we have to use @ResponseBody along with the
@ExceptionHandler — This annotation is used to handle the exception. This will be used to write the Controller Advice class file. This is for determining the type of exception a method handles.