Changeset 128 in tmcsimulator for trunk/src/atmsdriver/ATMSDriver.java


Ignore:
Timestamp:
10/17/2017 09:11:22 AM (9 years ago)
Author:
jdalbey
Message:

ATMSBatchDriver.java Added a GUI to display event queue. Highways.java modified to throw an exception when writeToFEP can't connect to FEP_Sim.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/atmsdriver/ATMSDriver.java

    r103 r128  
    66import java.util.logging.Level; 
    77import java.util.logging.Logger; 
     8import tmcsim.common.SimulationException; 
    89 
    910/** 
     
    7374                    .getProperty(PROPERTIES.EXCHANGE_FILE_NAME.name)); 
    7475 
    75             highways.writeToFEP(); 
     76            try { 
     77                highways.writeToFEP(); 
     78            } catch (SimulationException ex) { 
     79                            System.out.println("Skipping writeToFEP..."); 
     80            } 
    7681            // Update if exchangeInfo is recieved 
    7782            if (exInfo != null) { 
Note: See TracChangeset for help on using the changeset viewer.