[commit] r1314 - trunk/SDK/DotNet/CSharpComponentWizard/Templates/CSharpInterpreter

GMESRC Repository Notifications gme-commit at list.isis.vanderbilt.edu
Mon May 16 14:52:57 CDT 2011


Author: ksmyth
Date: Mon May 16 14:52:57 2011
New Revision: 1314

Log:
AbortTransaction shouldnt throw an exception

Modified:
   trunk/SDK/DotNet/CSharpComponentWizard/Templates/CSharpInterpreter/MgaGateway.cs

Modified: trunk/SDK/DotNet/CSharpComponentWizard/Templates/CSharpInterpreter/MgaGateway.cs
==============================================================================
--- trunk/SDK/DotNet/CSharpComponentWizard/Templates/CSharpInterpreter/MgaGateway.cs	Mon May 16 14:51:21 2011	(r1313)
+++ trunk/SDK/DotNet/CSharpComponentWizard/Templates/CSharpInterpreter/MgaGateway.cs	Mon May 16 14:52:57 2011	(r1314)
@@ -50,14 +50,9 @@
                 d();
                 CommitTransaction();
             }
-            catch (Exception e)
+            finally
             {
-                try
-                {
-                    AbortTransaction();
-                }
-                catch { }
-                throw e;
+                AbortTransaction();	
             }
         }
         #endregion


More information about the gme-commit mailing list