From 90288dc278771356aa6dfa3832cb4a4bb19e9fab Mon Sep 17 00:00:00 2001
From: jvergara <jvergara@localhost>
Date: Wed, 04 Jul 2007 16:48:57 +0000
Subject: [PATCH] This commit's design changes have been reviewed and approved by Brian Ehret.

---
 opends/src/quicksetup/org/opends/quicksetup/util/PlainTextProgressMessageFormatter.java |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/opends/src/quicksetup/org/opends/quicksetup/util/PlainTextProgressMessageFormatter.java b/opends/src/quicksetup/org/opends/quicksetup/util/PlainTextProgressMessageFormatter.java
index ca8098a..22ff05b 100644
--- a/opends/src/quicksetup/org/opends/quicksetup/util/PlainTextProgressMessageFormatter.java
+++ b/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)

--
Gitblit v1.10.0