/**
  * Default handler for a flowManager which simply add it to the MAV using {@link
  * ConsumerAbstractController#FLOW_MANAGER_ID_KEY}
  *
  * @param mav
  * @param fm
  * @throws IllegalArgumentException if flow manager is null
  */
 protected void handleFlowManager(ModelAndView mav, FlowManager fm)
     throws IllegalArgumentException {
   if (fm == null) {
     throw new IllegalArgumentException("Unable to locate the FlowManager ID:" + fm.getId());
   }
   mav.addObject(FLOW_MANAGER_ID_KEY, fm);
 }