class RuleFlowProcessValidator implements ProcessValidator {

    protected void addErrorMessage(RuleFlowProcess process,
                                   Node node,
                                   List<ProcessValidationError> errors,
                                   String message) {
        String error = String.format("Node '%s' [%d] %s",
                                     node.getName(),
                                     node.getId(),
                                     message);
        errors.add(new ProcessValidationErrorImpl(process,
                                                  error));
    }

    private  RuleFlowProcessValidator();

}