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

jvergara
17.53.2007 8feee36de8e6042f928439b06a03d50018423afe
opends/src/quicksetup/org/opends/quicksetup/Application.java
@@ -40,9 +40,10 @@
import org.opends.quicksetup.util.ServerController;
import org.opends.quicksetup.util.ProgressMessageFormatter;
import org.opends.quicksetup.ui.GuiApplication;
import org.opends.quicksetup.util.Utils;
import static org.opends.messages.QuickSetupMessages.*;
import static org.opends.quicksetup.util.Utils.*;
import java.io.PrintStream;
import java.io.ByteArrayOutputStream;
@@ -683,25 +684,7 @@
   */
  protected String getStringRepresentation(TopologyCacheException e)
  {
    MessageBuilder buf = new MessageBuilder();
    String ldapUrl = e.getLdapUrl();
    if (ldapUrl != null)
    {
      String hostName = ldapUrl.substring(ldapUrl.indexOf("://") + 3);
      buf.append(INFO_SERVER_ERROR.get(hostName));
      buf.append(" ");
    }
    if (e.getCause() instanceof NamingException)
    {
      buf.append(getThrowableMsg(INFO_BUG_MSG.get(), e.getCause()));
    }
    else
    {
      // This is unexpected.
      buf.append(getThrowableMsg(INFO_BUG_MSG.get(), e.getCause()));
    }
    return buf.toString();
    return Utils.getStringRepresentation(e);
  }
  /**