builder.put(HttpRequestMethodNotSupportedException.class, new HttpRequestMethodNotSupportedExceptionResolver()); builder.put(MethodArgumentNotValidException.class, new MethodArgumentNotValidExceptionResolver()); builder.put(ApplicationException.class, new ApplicationErrorExceptionResolver());
builder.put(HttpRequestMethodNotSupportedException.class, new HttpRequestMethodNotSupportedExceptionResolver()); builder.put(MethodArgumentNotValidException.class, new MethodArgumentNotValidExceptionResolver()); builder.put(ApplicationException.class, new ApplicationErrorExceptionResolver());