[jboss-svn-commits] JBL Code SVN: r21742 - in labs/jbosstm/trunk/XTS/demo/srcrpc/com/arjuna/xts/nightout/services: Theatre and 1 other directory.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Fri Aug 22 11:25:23 EDT 2008


Author: adinn
Date: 2008-08-22 11:25:21 -0400 (Fri, 22 Aug 2008)
New Revision: 21742

Modified:
   labs/jbosstm/trunk/XTS/demo/srcrpc/com/arjuna/xts/nightout/services/Restaurant/RestaurantParticipantBA.java
   labs/jbosstm/trunk/XTS/demo/srcrpc/com/arjuna/xts/nightout/services/Theatre/TheatreParticipantBA.java
Log:
corrected misleading error message in rpc demo

Modified: labs/jbosstm/trunk/XTS/demo/srcrpc/com/arjuna/xts/nightout/services/Restaurant/RestaurantParticipantBA.java
===================================================================
--- labs/jbosstm/trunk/XTS/demo/srcrpc/com/arjuna/xts/nightout/services/Restaurant/RestaurantParticipantBA.java	2008-08-22 15:23:00 UTC (rev 21741)
+++ labs/jbosstm/trunk/XTS/demo/srcrpc/com/arjuna/xts/nightout/services/Restaurant/RestaurantParticipantBA.java	2008-08-22 15:25:21 UTC (rev 21742)
@@ -142,7 +142,7 @@
 
             if(!success)
             {
-                restaurantView.addMessage("id:" + txID + " Compensation failed. Throwing SystemException\n");
+                restaurantView.addMessage("id:" + txID + " Compensation failed. Throwing FaultedException\n");
                 restaurantView.updateFields();
                 throw new FaultedException("Compensating transaction failed.");
             }

Modified: labs/jbosstm/trunk/XTS/demo/srcrpc/com/arjuna/xts/nightout/services/Theatre/TheatreParticipantBA.java
===================================================================
--- labs/jbosstm/trunk/XTS/demo/srcrpc/com/arjuna/xts/nightout/services/Theatre/TheatreParticipantBA.java	2008-08-22 15:23:00 UTC (rev 21741)
+++ labs/jbosstm/trunk/XTS/demo/srcrpc/com/arjuna/xts/nightout/services/Theatre/TheatreParticipantBA.java	2008-08-22 15:25:21 UTC (rev 21742)
@@ -143,7 +143,7 @@
 
             if(!success)
             {
-                theatreView.addMessage("id:" + txID + " Compensation failed. Throwing SystemException\n");
+                theatreView.addMessage("id:" + txID + " Compensation failed. Throwing FaultedException\n");
                 theatreView.updateFields();
                 throw new FaultedException("Compensating transaction failed.");
             }




More information about the jboss-svn-commits mailing list