public static <T, E extends Exception> T validateHandler(OwnerView view, T parameterToValidate, Validator<T, E> validator, MethodProvider<T> methodProvider) {
        List<E> validateExceptionList = validator.validate(parameterToValidate);

        if (!validateExceptionList.isEmpty()) {
            view.printValidateExceptionsList(validateExceptionList);
            parameterToValidate = methodProvider.implOfMethodToProvide();
        }

        return parameterToValidate;
    }