3738394041424344454647
public final Model process(Model model) throws ValidationException { if (!model.isValidated()) { model.validate(); } if (!model.isValidated()) { throw new ValidationException("Cannot validate model"); } Model m = doProcess(model); return m;