From: minkee.lee Date: Wed, 13 Aug 2014 07:40:45 +0000 (+0900) Subject: CheckEM: Add exception handling. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d2cf19fe2cf9943969bcd9a3d26564a1934c5636;p=sdk%2Femulator%2Femulator-manager.git CheckEM: Add exception handling. - In checking runnung VM routine, add exception handling when read from socket. Change-Id: I3bc0b65a7fb4cbbda55435e566f678d9cc16164a Signed-off-by: minkee.lee --- diff --git a/common-project/src/org/tizen/emulator/manager/vms/helper/CheckingRunningEmulator.java b/common-project/src/org/tizen/emulator/manager/vms/helper/CheckingRunningEmulator.java index dc58b48..c0b08e0 100644 --- a/common-project/src/org/tizen/emulator/manager/vms/helper/CheckingRunningEmulator.java +++ b/common-project/src/org/tizen/emulator/manager/vms/helper/CheckingRunningEmulator.java @@ -339,6 +339,11 @@ public class CheckingRunningEmulator { } catch (IOException e){ EMLogger.getLogger().warning(e.getMessage()); setVMExit(vms); + } catch (IllegalArgumentException e) { + EMLogger.getLogger().warning(e.getMessage()); + if (length != null) { + EMLogger.getLogger().warning("Socket Msg length : " + length.getInt()); + } } }