The @ExceptionHandler
value can be set to an array of Exception types.
The implementation of using exception array as mentioned in Spring documentation will be like:
@ExceptionHandler({
NotFoundException.class,
MissingServletRequestParameterException.class
})