mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

lutoff
27.26.2007 ad74bf0a2cc09d0036a12793848b975e7b16eaa6
opends/src/quicksetup/org/opends/quicksetup/webstart/WebStartDownloader.java
@@ -38,6 +38,7 @@
import org.opends.quicksetup.i18n.ResourceProvider;
import org.opends.quicksetup.ApplicationException;
import org.opends.quicksetup.ApplicationReturnCode;
import org.opends.quicksetup.util.Utils;
/**
@@ -134,7 +135,7 @@
        {
          // This is a bug
          ex =
              new ApplicationException(ApplicationException.Type.BUG,
              new ApplicationException(ApplicationReturnCode.ReturnCode.BUG,
                      getExceptionMsg(
                  "bug-msg", mfe), mfe);
        } catch (IOException ioe)
@@ -152,13 +153,14 @@
          String[] arg =
            { buf.toString() };
          ex =
              new ApplicationException(ApplicationException.Type.DOWNLOAD_ERROR,
                  getExceptionMsg("downloading-error", arg, ioe), ioe);
              new ApplicationException(
              ApplicationReturnCode.ReturnCode.DOWNLOAD_ERROR,
              getExceptionMsg("downloading-error", arg, ioe), ioe);
        } catch (Throwable t)
        {
          // This is a bug
          ex =
              new ApplicationException(ApplicationException.Type.BUG,
              new ApplicationException(ApplicationReturnCode.ReturnCode.BUG,
                      getExceptionMsg(
                  "bug-msg", t), t);
        }
@@ -363,8 +365,9 @@
  public void downloadFailed(URL url, String version)
  {
    ex =
        new ApplicationException(ApplicationException.Type.DOWNLOAD_ERROR,
            getMsg("downloading-error", new String[] { url.toString() }), null);
        new ApplicationException(
        ApplicationReturnCode.ReturnCode.DOWNLOAD_ERROR, getMsg(
            "downloading-error", new String[] { url.toString() }), null);
  }
  /**