VIEW: ROOTSTRAP: Modified error message for rootstrap creation. 42/20542/1
authordonghyuk.yang <donghyuk.yang@samsung.com>
Fri, 9 May 2014 05:24:46 +0000 (14:24 +0900)
committerdonghyuk.yang <donghyuk.yang@samsung.com>
Fri, 9 May 2014 05:24:46 +0000 (14:24 +0900)
Do not show exception string.

Change-Id: If729f81d959340b3ff84dec2ebab9e212c20894a
Signed-off-by: donghyuk.yang <donghyuk.yang@samsung.com>
org.tizen.nativeplatform/src/org/tizen/nativeplatform/views/ui/RootstrapUIMessages.properties
org.tizen.nativeplatform/src/org/tizen/nativeplatform/views/ui/RootstrapView.java

index 2d10a1e..b856837 100644 (file)
@@ -52,7 +52,7 @@ GenRootDlg.Error.Fail.Generate = Failed to generate rootstrap!
 GenRootDlg.Error.Empty.Snapshot = Snapshot URL is empty
 GenRootDlg.Error.Empty.Rootstrap = Rootstrap is empty
 GenRootDlg.Error.Snapshot.Failed = Failed to get snapshot information!\n
-GenRootDlg.Error.Gen.Rootstrap.Failed = Generating rootstrap failed!!\n
+GenRootDlg.Error.Gen.Rootstrap.Failed = Failed to generate rootstrap. Check log in "Platform Internal" console.
 GenRootDlg.Error.NoAnyRepos = You need to set repositories. Input snapshot URL and click the "Search" button.
 GenRootDlg.Error.Incorrect.Info = Failed to validate information for generating rootstrap.
 GenRootDlg.Error.Empty.Arch = Architecture is empty.
index 21537b3..f354fe1 100644 (file)
@@ -1018,8 +1018,7 @@ public class RootstrapView extends ViewPart {
             });
         } catch (Exception e) {
             logger.error(resources.getString("GenRootDlg.Error.Gen.Rootstrap.Failed"), e);
-            DialogUtil.openErrorDialog(String.format("%s\n * %s",
-                    resources.getString("GenRootDlg.Error.Gen.Rootstrap.Failed"), e.getMessage()));
+            DialogUtil.openErrorDialog(resources.getString("GenRootDlg.Error.Gen.Rootstrap.Failed"));
             return;
         } finally {
             RootstrapManager.removeLatestTempDirForRootstrap();
@@ -1177,9 +1176,7 @@ public class RootstrapView extends ViewPart {
                     } catch (Exception e) {
                         logger.error(resources.getString("GenRootDlg.Error.Gen.Rootstrap.Failed"),
                                 e);
-                        DialogUtil.openErrorDialog(String.format("%s\n * %s",
-                                resources.getString("GenRootDlg.Error.Gen.Rootstrap.Failed"),
-                                e.getMessage()));
+                        DialogUtil.openErrorDialog(resources.getString("GenRootDlg.Error.Gen.Rootstrap.Failed"));
                         return;
                     } finally {
                         RootstrapManager.removeLatestTempDirForRootstrap();