Changeset 355 in tmcsimulator for trunk/src/tmcsim/cadsimulator/CADServer.java
- Timestamp:
- 04/03/2019 04:52:29 PM (7 years ago)
- File:
-
- 1 edited
-
trunk/src/tmcsim/cadsimulator/CADServer.java (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/tmcsim/cadsimulator/CADServer.java
r210 r355 207 207 cadSimLogger.logp(Level.SEVERE, "CADSimulator", "Constructor", 208 208 "Exception in reading properties file.", e); 209 210 throw new SimulationException(SimulationException.INITIALIZE_ERROR, e); 209 JOptionPane.showMessageDialog(new JWindow(), e.getMessage() + 210 "\nUser.Dir=" + System.getProperty("user.dir"), 211 "Fatal Error - Exiting", JOptionPane.ERROR_MESSAGE); 212 213 throw new SimulationException(SimulationException.PROPERTY_READ_ERROR, e); 211 214 } 212 215 … … 222 225 cadSimLogger.logp(Level.SEVERE, "CADSimulator", "Constructor", 223 226 propertiesFile + " missing property for user interface."); 224 throw new SimulationException(SimulationException. INITIALIZE_ERROR);227 throw new SimulationException(SimulationException.PROPERTY_MISSING_ERROR); 225 228 } 226 229 try … … 233 236 "Unable to instantiate user interface: " + userInterfaceName 234 237 + " " + exc); 235 throw new SimulationException(SimulationException.IN ITIALIZE_ERROR);238 throw new SimulationException(SimulationException.INSTANTIATION_FAILURE); 236 239 } 237 240 theModel = new CADSimulatorState();
Note: See TracChangeset
for help on using the changeset viewer.
