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

Nicolas Capponi
24.43.2014 81d36161ce5367fa7aa9a5d99dc8b80eacfa7cdf
opendj3-server-dev/src/quicksetup/org/opends/quicksetup/util/WebBrowserLauncher.java
@@ -22,11 +22,11 @@
 *
 *
 *      Copyright 2006-2008 Sun Microsystems, Inc.
 *      Portions Copyright 2013 ForgeRock AS.
 *      Portions Copyright 2013-2014 ForgeRock AS.
 */
package org.opends.quicksetup.util;
import org.opends.messages.Message;
import org.forgerock.i18n.LocalizableMessage;
import java.io.IOException;
import java.lang.reflect.InvocationTargetException;
@@ -79,7 +79,7 @@
        if (browser == null)
        {
          throw new WebBrowserException(url, // TODO: i18n
                  Message.raw("Could not find web browser"),
                  LocalizableMessage.raw("Could not find web browser"),
                  null);
        } else
        {
@@ -90,27 +90,27 @@
    } catch (ClassNotFoundException cnfe)
    {
      throw new WebBrowserException(url, // TODO: i18n
              Message.raw("Class Not Found Exception"), cnfe);
              LocalizableMessage.raw("Class Not Found Exception"), cnfe);
    } catch (IOException ioe)
    {
      throw new WebBrowserException(url, // TODO: i18n
              Message.raw("IO Exception"), ioe);
              LocalizableMessage.raw("IO Exception"), ioe);
    } catch (InterruptedException ie)
    {
      throw new WebBrowserException(url, // TODO: i18n
              Message.raw("Interrupted Exception"), ie);
              LocalizableMessage.raw("Interrupted Exception"), ie);
    } catch (NoSuchMethodException nsme)
    {
      throw new WebBrowserException(url, // TODO: i18n
              Message.raw("No Such Method Exception"), nsme);
              LocalizableMessage.raw("No Such Method Exception"), nsme);
    } catch (InvocationTargetException ite)
    {
      throw new WebBrowserException(url, // TODO: i18n
              Message.raw("Invocation Target Exception"), ite);
              LocalizableMessage.raw("Invocation Target Exception"), ite);
    } catch (IllegalAccessException iae)
    {
      throw new WebBrowserException(url, // TODO: i18n
              Message.raw("Illegal Access Exception"), iae);
              LocalizableMessage.raw("Illegal Access Exception"), iae);
    }
  }
}