class ErrorHandler {

	public ResponseEntity<?> handleBindingErrorsForCreate(RequestInfo requestInfo, BindingResult bindingResult) {
		if (bindingResult != null && bindingResult.hasErrors()) {
			return getMissingParameterErrorResponse(bindingResult, requestInfo);
		}
		return null;
	}

}