Code example for WebMvcConfigurationSupport

Methods: getMessageConverters

0
	 
	@Override 
	public void configureHandlerExceptionResolvers(List<HandlerExceptionResolver> exceptionResolvers) { 
		ExtendedExceptionHandlerExceptionResolver customResolver = new ExtendedExceptionHandlerExceptionResolver(); 
		customResolver.setExceptionHandler(new GlobalExceptionHandler()); 
		customResolver.setMessageConverters(getMessageConverters()); 
		customResolver.afterPropertiesSet(); 
 
		exceptionResolvers.add(customResolver); 
	} 
 
}