Changeset 355 in tmcsimulator for trunk/src/tmcsim
- Timestamp:
- 04/03/2019 04:52:29 PM (7 years ago)
- Location:
- trunk/src/tmcsim
- Files:
-
- 3 edited
-
application.properties (modified) (1 diff)
-
cadsimulator/CADServer.java (modified) (3 diffs)
-
common/SimulationException.java (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/tmcsim/application.properties
r353 r355 1 # Tue, 02 Apr 2019 19:31:19-07001 #Wed, 03 Apr 2019 18:19:01 -0700 2 2 3 Application.revision=35 13 Application.revision=354 4 4 5 Application.buildnumber=11 55 Application.buildnumber=119 -
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(); -
trunk/src/tmcsim/common/SimulationException.java
r310 r355 39 39 */ 40 40 public static final String INITIALIZE_ERROR = "Unable to complete initialization, program exiting."; 41 /** 42 * Exception error when reading a properties file fails.<br> 43 */ 44 public static final String PROPERTY_READ_ERROR = "Error reading CAD Server properties file. "; 45 public static final String PROPERTY_MISSING_ERROR = "Missing property for CAD Server user interface. "; 46 public static final String INSTANTIATION_FAILURE = "Unable to instantiate CAD Server user interface. "; 41 47 42 48 /**
Note: See TracChangeset
for help on using the changeset viewer.
