class SwitchOnFailureParametersOperator implements ParametersOperator {

    @Override
    public void updateParameters(Parameters parameters) {
        try {
            first.updateParameters(parameters);
        } catch (Exception e) {
            second.updateParameters(parameters);
        }
    }

    public  SwitchOnFailureParametersOperator(ParametersOperator first,
                                             ParametersOperator second);

}