diff --git a/examples/src/OpenDis7Examples/ExampleSimulationProgram.java b/examples/src/OpenDis7Examples/ExampleSimulationProgram.java index b52e0da059c77beeb85a56c2e94f1356e7221755..5c14850d11b70c60f6cd881cc63ae306d3ce09f5 100644 --- a/examples/src/OpenDis7Examples/ExampleSimulationProgram.java +++ b/examples/src/OpenDis7Examples/ExampleSimulationProgram.java @@ -281,9 +281,9 @@ public class ExampleSimulationProgram } } // end of while loop } - catch (Exception ex) // handle any exception that your code might choose to provoke! + catch (InterruptedException iex) // handle any exception that your code might choose to provoke! { - Logger.getLogger(ExampleSimulationProgram.class.getName()).log(Level.SEVERE, null, ex); + Logger.getLogger(ExampleSimulationProgram.class.getName()).log(Level.SEVERE, null, iex); } } }