[jboss-svn-commits] JBL Code SVN: r20396 - in labs/jbosstm/trunk/XTS/demo/src/com/jboss/jbosstm/xts/demo/services: theatre and 1 other directory.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Tue Jun 10 05:50:11 EDT 2008


Author: adinn
Date: 2008-06-10 05:50:11 -0400 (Tue, 10 Jun 2008)
New Revision: 20396

Modified:
   labs/jbosstm/trunk/XTS/demo/src/com/jboss/jbosstm/xts/demo/services/restaurant/RestaurantParticipantBA.java
   labs/jbosstm/trunk/XTS/demo/src/com/jboss/jbosstm/xts/demo/services/theatre/TheatreParticipantBA.java
Log:
modified printout to reflect change of thrown exception type to FaultedException

Modified: labs/jbosstm/trunk/XTS/demo/src/com/jboss/jbosstm/xts/demo/services/restaurant/RestaurantParticipantBA.java
===================================================================
--- labs/jbosstm/trunk/XTS/demo/src/com/jboss/jbosstm/xts/demo/services/restaurant/RestaurantParticipantBA.java	2008-06-10 09:47:07 UTC (rev 20395)
+++ labs/jbosstm/trunk/XTS/demo/src/com/jboss/jbosstm/xts/demo/services/restaurant/RestaurantParticipantBA.java	2008-06-10 09:50:11 UTC (rev 20396)
@@ -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/src/com/jboss/jbosstm/xts/demo/services/theatre/TheatreParticipantBA.java
===================================================================
--- labs/jbosstm/trunk/XTS/demo/src/com/jboss/jbosstm/xts/demo/services/theatre/TheatreParticipantBA.java	2008-06-10 09:47:07 UTC (rev 20395)
+++ labs/jbosstm/trunk/XTS/demo/src/com/jboss/jbosstm/xts/demo/services/theatre/TheatreParticipantBA.java	2008-06-10 09:50:11 UTC (rev 20396)
@@ -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