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

jvergara
04.48.2007 90288dc278771356aa6dfa3832cb4a4bb19e9fab
opends/src/quicksetup/org/opends/quicksetup/util/PlainTextProgressMessageFormatter.java
@@ -203,21 +203,21 @@
  /**
   * Returns the plain text representation of an error message for a given
   * exception.
   * throwable.
   * This method applies a margin if the applyMargin parameter is
   * <CODE>true</CODE>.
   * @param ex the exception.
   * @param t the exception.
   * @param applyMargin specifies whether we apply a margin or not to the
   * resulting plain text.
   * @return the plain text representation of an error message for the given
   * exception.
   */
  public String getFormattedError(Exception ex, boolean applyMargin)
  public String getFormattedError(Throwable t, boolean applyMargin)
  {
    String msg = ex.getMessage();
    String msg = t.getMessage();
    if (msg == null)
    {
      msg = ex.toString();
      msg = t.toString();
    }
    String result;
    if (applyMargin)