public void modifyAll(Map<String,Collection<DynamicModification>> modifications,Collection<Throwable> problems) throws CannotCompileException {
  for (  String className : modifications.keySet()) {
    try {
      modify(className,modifications.get(className));
    }
 catch (    NotFoundException e) {
      log.warn("Unable to modify " + className,e);
      problems.add(e);
    }
catch (    ClassNotFoundException e) {
      log.warn("Unable to modify " + className,e);
      problems.add(e);
    }
catch (    IOException e) {
      log.warn("Unable to modify " + className,e);
      problems.add(e);
    }
  }
}

public void modifyAll ( Map < String , Collection < DynamicModification > > modifications , Collection < Throwable > problems ) throws CannotCompileException { for ( String className : modifications . keySet ( ) ) { try { modify ( className , modifications . get ( className ) ) ; } catch ( NotFoundException e ) { log . warn ( "Unable to modify " + className , e ) ; problems . add ( e ) ; } catch ( ClassNotFoundException e ) { log . warn ( "Unable to modify " + className , e ) ; problems . add ( e ) ; } catch ( IOException e ) { log . warn ( "Unable to modify " + className , e ) ; problems . add ( e ) ; } } }
apply several modifications to multiple classes . if the specified class cannot be found or loaded for some reason , it is ignore . if the class can be loaded but the provided modifications can ' t compile , an exception will be thrown
