From 37e24f43151b8bb27673f973a6c0b19439d47d48 Mon Sep 17 00:00:00 2001 From: "giwoong.kim" Date: Thu, 12 Apr 2012 18:12:26 +0900 Subject: [PATCH] [Title] convert getAbsolutePath to getCanonocalPath [Type] enhancement [Module] Emulator / menu [Priority] [Jira#] [Redmine#] [Problem] [Cause] [Solution] [TestCase] --- .../skin/client/src/org/tizen/emulator/skin/EmulatorSkin.java | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/tizen/src/skin/client/src/org/tizen/emulator/skin/EmulatorSkin.java b/tizen/src/skin/client/src/org/tizen/emulator/skin/EmulatorSkin.java index 3232ddd..0311d10 100644 --- a/tizen/src/skin/client/src/org/tizen/emulator/skin/EmulatorSkin.java +++ b/tizen/src/skin/client/src/org/tizen/emulator/skin/EmulatorSkin.java @@ -30,6 +30,7 @@ package org.tizen.emulator.skin; import java.io.File; +import java.io.IOException; import java.lang.reflect.Field; import java.util.ArrayList; import java.util.Iterator; @@ -956,9 +957,13 @@ public class EmulatorSkin { File sdbFile = new File(sdbPath); if (!sdbFile.exists()) { logger.log( Level.INFO, "SDB file is not exist : " + sdbFile.getAbsolutePath()); - SkinUtil.openMessage( shell, null, - "SDB file is not exist in the following folder.\n" + sdbFile.getAbsolutePath() - , SWT.ICON_ERROR, config ); + try { + SkinUtil.openMessage( shell, null, + "SDB file is not exist in the following path.\n" + sdbFile.getCanonicalPath() + , SWT.ICON_ERROR, config ); + } catch (IOException ee) { + logger.log( Level.SEVERE, ee.getMessage(), ee ); + } return; } -- 2.7.4