Closedown

This commit is contained in:
boccioli_m
2017-06-06 14:30:19 +02:00
parent 9bf88f8b3a
commit f05c3d9f96
3 changed files with 10 additions and 6 deletions

View File

@@ -2126,12 +2126,14 @@ public class TestingList extends Panel {
iLastExecutedTestIndex = showResult(sDeviceName, sTestPath, sTestResult, sTestStatus);
}
} catch (StatementException intEx) {
intEx.printStackTrace();
Logger.getLogger(TestingList.class.getName()).log(Level.SEVERE, null, intEx);
System.out.println("User interrupted test! |"+ sDeviceName+"|"+ sTestPath+"|"+ String.valueOf(intEx));
stopAll("Test stopped by user");
//showResult(sDeviceName, sTestPath, "User interrupted test", "false");
//setToStopped();
} catch (ClassCastException ccex) {
ccex.printStackTrace();
Logger.getLogger(TestingList.class.getName()).log(Level.SEVERE, null, ccex);
SwingUtils.showMessage(TestingList.this, "executeParallelTestsGroup()", ccex.toString());
//System.out.println(String.valueOf(ccex));
@@ -2139,12 +2141,14 @@ public class TestingList extends Panel {
showResult(sDeviceName, sTestPath, ccex.toString(), TestStatus.FAILURE.toString());
}
}catch (Exception ex) {
ex.printStackTrace();
Logger.getLogger(TestingList.class.getName()).log(Level.SEVERE, null, ex);
SwingUtils.showMessage(TestingList.this, "executeParallelTestsGroup()", ex.toString());
System.out.println(String.valueOf(ex));
showResult(sDeviceName, sTestPath, ex.toString(), TestStatus.FAILURE.toString());
}
} catch (Exception ex) {
ex.printStackTrace();
SwingUtils.showMessage(TestingList.this, "executeParallelTestsGroup(), run thread", ex.toString());
logger.log(Level.SEVERE, ex.toString());
setToStopped();