Return-Path: Delivered-To: apmail-incubator-ace-commits-archive@minotaur.apache.org Received: (qmail 85741 invoked from network); 24 Jul 2009 07:01:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 24 Jul 2009 07:01:15 -0000 Received: (qmail 80180 invoked by uid 500); 24 Jul 2009 07:02:20 -0000 Delivered-To: apmail-incubator-ace-commits-archive@incubator.apache.org Received: (qmail 80164 invoked by uid 500); 24 Jul 2009 07:02:20 -0000 Mailing-List: contact ace-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ace-dev@incubator.apache.org Delivered-To: mailing list ace-commits@incubator.apache.org Received: (qmail 80154 invoked by uid 99); 24 Jul 2009 07:02:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Jul 2009 07:02:20 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Jul 2009 07:02:18 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id E8E842388878; Fri, 24 Jul 2009 07:01:57 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r797345 - /incubator/ace/trunk/webui/src/org/apache/ace/client/Main.java Date: Fri, 24 Jul 2009 07:01:57 -0000 To: ace-commits@incubator.apache.org From: marrs@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20090724070157.E8E842388878@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: marrs Date: Fri Jul 24 07:01:57 2009 New Revision: 797345 URL: http://svn.apache.org/viewvc?rev=797345&view=rev Log: Alert windows now print the exception when something goes wrong. Modified: incubator/ace/trunk/webui/src/org/apache/ace/client/Main.java Modified: incubator/ace/trunk/webui/src/org/apache/ace/client/Main.java URL: http://svn.apache.org/viewvc/incubator/ace/trunk/webui/src/org/apache/ace/client/Main.java?rev=797345&r1=797344&r2=797345&view=diff ============================================================================== --- incubator/ace/trunk/webui/src/org/apache/ace/client/Main.java (original) +++ incubator/ace/trunk/webui/src/org/apache/ace/client/Main.java Fri Jul 24 07:01:57 2009 @@ -119,7 +119,7 @@ public void onClick(ClickEvent event) { m_assocationService.link(m_bundleTable.getCheckedObject(), m_groupTable.getCheckedObject(), new AsyncCallback() { public void onFailure(Throwable caught) { - Window.alert("Error creating association"); + Window.alert("Error creating association: " + caught); } public void onSuccess(Void result) { updateHighlight(); @@ -134,7 +134,7 @@ public void onClick(ClickEvent event) { m_assocationService.link(m_groupTable.getCheckedObject(), m_licenseTable.getCheckedObject(), new AsyncCallback() { public void onFailure(Throwable caught) { - Window.alert("Error creating association"); + Window.alert("Error creating association: " + caught); } public void onSuccess(Void result) { updateHighlight(); @@ -148,7 +148,7 @@ public void onClick(ClickEvent event) { m_assocationService.link(m_licenseTable.getCheckedObject(), m_targetTable.getCheckedObject(), new AsyncCallback() { public void onFailure(Throwable caught) { - Window.alert("Error creating association"); + Window.alert("Error creating association: " + caught); } public void onSuccess(Void result) { updateHighlight();