Changeset 211 for trunk/EventBenchConsole
- Timestamp:
- 09/28/11 03:11:18 (13 years ago)
- Location:
- trunk/EventBenchConsole
- Files:
-
- 1 added
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/EventBenchConsole/src/de/ugoe/cs/eventbench/ReplayGenerator.java
r203 r211 125 125 } catch (IOException e) { 126 126 Console.printerrln("Unable to create file " + filename); 127 Console. printStacktrace(e);127 Console.logException(e); 128 128 } 129 129 OutputStreamWriter writer = null; … … 134 134 Console.printerrln("Unable to open file for writing (read-only file):" 135 135 + filename); 136 Console. printStacktrace(e);136 Console.logException(e); 137 137 } 138 138 return writer; -
trunk/EventBenchConsole/src/de/ugoe/cs/eventbench/commands/CMDload.java
r209 r211 43 43 in.close(); 44 44 } catch (IOException ex) { 45 Console. printStacktrace(ex);45 Console.logException(ex); 46 46 } catch (ClassNotFoundException ex) { 47 Console. printStacktrace(ex);47 Console.logException(ex); 48 48 } 49 49 } -
trunk/EventBenchConsole/src/de/ugoe/cs/eventbench/commands/CMDloadObject.java
r209 r211 47 47 in.close(); 48 48 } catch (IOException ex) { 49 Console. printStacktrace(ex);49 Console.logException(ex); 50 50 } catch (ClassNotFoundException ex) { 51 Console. printStacktrace(ex);51 Console.logException(ex); 52 52 } 53 53 if (GlobalDataContainer.getInstance().addData(objectName, data)) { -
trunk/EventBenchConsole/src/de/ugoe/cs/eventbench/commands/CMDsave.java
r209 r211 43 43 out.close(); 44 44 } catch (IOException ex) { 45 Console. printStacktrace(ex);45 Console.logException(ex); 46 46 } 47 47 } -
trunk/EventBenchConsole/src/de/ugoe/cs/eventbench/commands/CMDsaveObject.java
r209 r211 52 52 out.close(); 53 53 } catch (IOException ex) { 54 Console. printStacktrace(ex);54 Console.logException(ex); 55 55 } 56 56 } -
trunk/EventBenchConsole/src/de/ugoe/cs/eventbench/log4j/Log4JLogger.java
r207 r211 63 63 */ 64 64 @Override 65 public void printStacktrace(Exception e) {65 public void logException(Exception e) { 66 66 logger.error("", e); 67 67 } -
trunk/EventBenchConsole/src/de/ugoe/cs/eventbench/swt/CommandHistoryDialog.java
r200 r211 136 136 } catch (IOException e) { 137 137 Console.printerrln("Unable to create file " + filename); 138 Console. printStacktrace(e);138 Console.logException(e); 139 139 } 140 140 OutputStreamWriter writer = null; … … 144 144 Console.printerrln("Unable to open file for writing (read-only file):" 145 145 + filename); 146 Console. printStacktrace(e);146 Console.logException(e); 147 147 } 148 148 try { … … 151 151 } catch (IOException e) { 152 152 Console.printerrln("Unable to write to file."); 153 Console. printStacktrace(e);153 Console.logException(e); 154 154 } 155 155 }
Note: See TracChangeset
for help on using the changeset viewer.