ace-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r797345 - /incubator/ace/trunk/webui/src/org/apache/ace/client/Main.java
Date Fri, 24 Jul 2009 07:01:57 GMT
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<Void>() {
                     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<Void>() {
                     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<Void>() {
                     public void onFailure(Throwable caught) {
-                        Window.alert("Error creating association");
+                        Window.alert("Error creating association: " + caught);
                     }
                     public void onSuccess(Void result) {
                         updateHighlight();



Mime
View raw message