Revert "[Title]NET : Unknown host exception [Desc.] [Issue] * when Unknown host excep...
authorSungho Park <chywoo.park@samsung.com>
Tue, 20 Nov 2012 08:20:42 +0000 (17:20 +0900)
committerGerrit Code Review <gerrit2@system.s-core.co.kr>
Tue, 20 Nov 2012 08:20:42 +0000 (17:20 +0900)
This reverts commit 9d7570a7550353f6393952d89e38a4cef2864206

InstallManager_java/src/org/tizen/installmanager/lib/Downloader.java

index f5f3296..e0aca86 100644 (file)
@@ -432,7 +432,7 @@ public class Downloader {
                                                break;
                                        }
                                } else {
-                                       throw new IMNetworkConnectException(responseCode, responseMessage); 
+                                       break;
                                }
                        }
 
@@ -442,7 +442,7 @@ public class Downloader {
                                return true;
                        }
                } else {
-                       throw new IMNetworkConnectException(responseCode, responseMessage);
+                       return false;
                }
        }
 
@@ -572,7 +572,6 @@ public class Downloader {
                        if (port < 0) {
                                port = url.getDefaultPort();
                        }
-                       System.out.println(url.getHost());
                        socketAddress = getSocketAddress(url.getHost(), port);
 
                } catch (IMFatalException e) {