Ignore:
Timestamp:
12/20/12 17:23:35 (12 years ago)
Author:
wojtekp
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • DCWoRMS/trunk/src/test/article/recs/plugins/scheduling/RecsExclusivenessRandomSP.java

    r679 r708  
    33import gridsim.dcworms.DCWormsTags; 
    44 
     5import java.io.FileNotFoundException; 
     6import java.io.IOException; 
    57import java.util.ArrayList; 
    68import java.util.HashMap; 
    79import java.util.List; 
    810import java.util.Map; 
     11import java.util.MissingResourceException; 
    912import java.util.Random; 
    1013 
     
    131134                                        continue; 
    132135                                 
     136                                try { 
     137                                        if(!getExecutiveness(createExecutivenessQuery(task, node))) 
     138                                                continue; 
     139                                } catch (FileNotFoundException e) { 
     140                                        continue; 
     141                                } catch (IOException e) { 
     142                                        continue; 
     143                                } catch (MissingResourceException e){ 
     144                                        continue; 
     145                                } 
    133146                                filteredNodes.add(node); 
    134147                        } 
Note: See TracChangeset for help on using the changeset viewer.