Author: tfmorris
Date: 2008-05-08 13:55:58-0700
New Revision: 14676

Modified:
   trunk/src/argouml-app/src/org/argouml/ui/ExceptionDialog.java

Log:
Remove deprecated constructor.

Modified: trunk/src/argouml-app/src/org/argouml/ui/ExceptionDialog.java
Url: 
http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-app/src/org/argouml/ui/ExceptionDialog.java?view=diff&rev=14676&p1=trunk/src/argouml-app/src/org/argouml/ui/ExceptionDialog.java&p2=trunk/src/argouml-app/src/org/argouml/ui/ExceptionDialog.java&r1=14675&r2=14676
==============================================================================
--- trunk/src/argouml-app/src/org/argouml/ui/ExceptionDialog.java       
(original)
+++ trunk/src/argouml-app/src/org/argouml/ui/ExceptionDialog.java       
2008-05-08 13:55:58-0700
@@ -98,7 +98,9 @@
      */
     public ExceptionDialog(Frame f, String message, Throwable e,
             boolean highlightCause) {
-        this(f, formatException(message, e, highlightCause));
+        this(f, Translator.localize("dialog.exception.title"), 
+                Translator.localize("dialog.exception.message"), 
+                formatException(message, e, highlightCause));
     }
 
     public static String formatException(String message, Throwable e,
@@ -121,21 +123,6 @@
         return sw.toString();
     }
 
-    /**
-     * Construct an exception dialog with a preformatted error string.
-     *
-     * @param f   the <code>Frame</code> from which the dialog is displayed
-     * @param message
-     *            the message
-     * @deprecated by tfmorris for 0.24, use 
-     * [EMAIL PROTECTED] #ExceptionDialog(Frame, String, String, String)}
-     */
-    @Deprecated
-    public ExceptionDialog(Frame f, String message) {
-        this(f, Translator.localize("dialog.exception.title"), 
-                Translator.localize("dialog.exception.message"), 
-                message);
-    }
     
     /**
      * Construct an exception dialog with given title, introduction, and detail

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to