- Timestamp:
- 04/01/14 15:29:07 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
DCWoRMS/branches/coolemall/src/simulator/DataCenterWorkloadSimulator.java
r1299 r1346 245 245 } 246 246 247 WorkloadLoader workload = loadWorkload(options); 247 WorkloadLoader workload = null; 248 249 try{ 250 workload = loadWorkload(options); 251 } catch (Exception e) { 252 if (log.isErrorEnabled()) 253 log.error("ERROR while reading workload and application profiles"); 254 throw e; 255 } 248 256 249 257 // BEGIN: Initializing the GridSim: … … 272 280 ResourceReader resourceReader = new ResourceReader( 273 281 options.resdescFileName); 274 SimulatedEnvironment simEnv = resourceReader.read(); 282 SimulatedEnvironment simEnv; 283 284 try { 285 simEnv= resourceReader.read(); 286 } catch (Exception e){ 287 if (log.isErrorEnabled()) 288 log.error("ERROR while reading resource description"); 289 throw e; 290 } 275 291 276 292 eventManager = new EventManager("eventManager", simEnv);
Note: See TracChangeset
for help on using the changeset viewer.