MISC : Exception Log(not error) print console -> write to file 02/26202/1
authorjungwook.ryu <jungwook.ryu@samsung.com>
Tue, 19 Aug 2014 07:47:38 +0000 (16:47 +0900)
committerjungwook.ryu <jungwook.ryu@samsung.com>
Tue, 19 Aug 2014 07:48:42 +0000 (16:48 +0900)
Change-Id: I9192d6931d741b7a936d301599f24dc6f704f442
Signed-off-by: jungwook.ryu <jungwook.ryu@samsung.com>
org.tizen.dynamicanalysis.ide.eplugin/src/org/tizen/dynamicanalysis/ide/eplugin/communication/DAServerManager.java

index 3c1c627..404361a 100644 (file)
@@ -121,8 +121,7 @@ public class DAServerManager extends Thread {
                                        try {
                                                Thread.sleep(1000);
                                        } catch (InterruptedException e) {
-                                               // TODO Auto-generated catch block
-                                               e.printStackTrace();
+                                               DALog.printLog("IDE is terminated!");
                                        }
                                }
 
@@ -296,11 +295,11 @@ public class DAServerManager extends Thread {
                try {
                        ideClientSocket = new Socket(LOCAL_HOST, serverPort);
                } catch (UnknownHostException e) {
-                       e.printStackTrace();
+                       DALog.printLog(e);
                        ideClientSocket = null;
                        return false;
                } catch (IOException e) {
-                       e.printStackTrace();
+                       DALog.printLog(e);
                        ideClientSocket = null;
                        return false;
                }
@@ -327,8 +326,7 @@ public class DAServerManager extends Thread {
                                this.wait(10000);
                        } catch (InterruptedException e) {
                                DALog.printLog("DAServerManager - sendDAStatusMessage - getRecvDAReadyStatus().wait(10000)");
-                               // TODO Auto-generated catch block
-                               e.printStackTrace();
+                               DALog.printLog(e);
                        }
                }
                return getRecvDAReadyStatus();