[Title] Fixed sonar error
authorgyeongseok.seo <gyeongseok.seo@samsung.com>
Fri, 14 Jun 2013 00:54:09 +0000 (09:54 +0900)
committergyeongseok.seo <gyeongseok.seo@samsung.com>
Fri, 14 Jun 2013 00:54:09 +0000 (09:54 +0900)
[Desc.]
[Issue]

Change-Id: I182c2b7cc1bbfd768a530e1629f535ab861b9885

org.tizen.cli/src/org/tizen/cli/exec/WRTLauncher.java

index 4b80cd1..86f7c2a 100755 (executable)
@@ -163,14 +163,10 @@ extends AbstractLauncher
         String sdbPath = InstallPathConfig.getSDBPath();
         logger.trace( "sdb lib Path :{}", sdbPath );
 
-        SmartDevelopmentBridge bridge = null;
-        try {
-            bridge = SmartDevelopmentBridge.createBridge(sdbPath, true);
-
-            // wait sdb start
-        } catch (Throwable t) {
-            // don't throw exception parent
-            logger.error("Problem occurred while initializing sdb", t.getMessage(), t);
+        SmartDevelopmentBridge bridge = SmartDevelopmentBridge.createBridge(sdbPath, true);
+
+        if ( null == bridge ) {
+            prompter.notify( "Problem occurred while initializing sdb" );
         }
 
         if (OSChecker.isWindows()) {