Changeset 128 in tmcsimulator for trunk/src/atmsdriver/model/Highways.java
- Timestamp:
- 10/17/2017 09:11:22 AM (9 years ago)
- File:
-
- 1 edited
-
trunk/src/atmsdriver/model/Highways.java (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/atmsdriver/model/Highways.java
r127 r128 27 27 import org.w3c.dom.Document; 28 28 import org.w3c.dom.Element; 29 import tmcsim.common.SimulationException; 29 30 30 31 /** The Highways class aggregates all Highway instances within a geographic … … 209 210 */ 210 211 211 public void writeToFEP() {212 public void writeToFEP() throws SimulationException { 212 213 try { 213 214 Socket sock = new Socket(FEPHostName /*"192.168.251.130"*/, 8080); … … 218 219 Logger.getLogger(Highways.class.getName()).log(Level.SEVERE, null, ex); 219 220 System.out.println("Highway Model failed writing to FEPSim."); 221 throw new SimulationException(SimulationException.BINDING); 220 222 } 221 223 }
Note: See TracChangeset
for help on using the changeset viewer.
