Changeset 49 in tmcsimulator for trunk/src/tmcsim/cadsimulator
- Timestamp:
- 07/02/2016 09:43:59 AM (10 years ago)
- Location:
- trunk/src/tmcsim/cadsimulator
- Files:
-
- 2 edited
-
CADSimulator.java (modified) (2 diffs)
-
viewer/CADSimulatorViewer.java (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/tmcsim/cadsimulator/CADSimulator.java
r44 r49 190 190 cadSimulatorProperties = new Properties(); 191 191 cadSimulatorProperties.load(new FileInputStream(propertiesFile)); 192 cadSimLogger.logp(Level.INFO, "CADSimulator", "Constructor", 193 "Properties loaded from " + propertiesFile); 192 194 } catch (Exception e) 193 195 { … … 215 217 Class uiClass = Class.forName(userInterfaceName); 216 218 theViewer = (CADViewer) uiClass.newInstance(); 217 } catch ( Throwableexc)219 } catch (Exception exc) 218 220 { 219 221 cadSimLogger.logp(Level.SEVERE, "CADSimulator", "Constructor", 220 "Unable to instantiate user interface: " + userInterfaceName); 222 "Unable to instantiate user interface: " + userInterfaceName 223 + " " + exc); 221 224 throw new SimulationException(SimulationException.INITIALIZE_ERROR); 222 225 } -
trunk/src/tmcsim/cadsimulator/viewer/CADSimulatorViewer.java
r44 r49 80 80 { 81 81 Logger.getLogger("tmcsim/cadsimulator").log(Level.SEVERE, 82 "CADSimulatorView.getAppVersion()", 83 "IOError reading " + propfilename); 82 "CADSimulatorView.getAppVersion()." 83 + " IOError reading " + propfilename); 84 } catch (NullPointerException npe) 85 { 86 Logger.getLogger("tmcsim/cadsimulator").log(Level.SEVERE, 87 "CADSimulatorView.getAppVersion().load." 88 + " Missing file: " + propfilename); 84 89 } 85 90 return "revision: " + version;
Note: See TracChangeset
for help on using the changeset viewer.
