Changeset 49 in tmcsimulator for trunk/src/tmcsim/cadsimulator/CADSimulator.java
- Timestamp:
- 07/02/2016 09:43:59 AM (10 years ago)
- File:
-
- 1 edited
-
trunk/src/tmcsim/cadsimulator/CADSimulator.java (modified) (2 diffs)
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 }
Note: See TracChangeset
for help on using the changeset viewer.
