You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ta...@apache.org on 2013/04/26 21:40:05 UTC

svn commit: r1476356 - in /activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp: ConnectionFactory.cs State/ConnectionStateTracker.cs Transport/Failover/FailoverTransport.cs Transport/Tcp/SslTransport.cs

Author: tabish
Date: Fri Apr 26 19:40:04 2013
New Revision: 1476356

URL: http://svn.apache.org/r1476356
Log:
fix for: https://issues.apache.org/jira/browse/AMQNET-433

Modified:
    activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/ConnectionFactory.cs
    activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/State/ConnectionStateTracker.cs
    activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Transport/Failover/FailoverTransport.cs
    activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Transport/Tcp/SslTransport.cs

Modified: activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/ConnectionFactory.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/ConnectionFactory.cs?rev=1476356&r1=1476355&r2=1476356&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/ConnectionFactory.cs (original)
+++ activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/ConnectionFactory.cs Fri Apr 26 19:40:04 2013
@@ -144,7 +144,7 @@ namespace Apache.NMS.ActiveMQ
 
                 return connection;
             }
-            catch(NMSException e)
+            catch(NMSException)
             {
                 try
                 {
@@ -154,7 +154,7 @@ namespace Apache.NMS.ActiveMQ
                 {
                 }
 
-                throw e;
+                throw;
             }
             catch(Exception e)
             {

Modified: activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/State/ConnectionStateTracker.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/State/ConnectionStateTracker.cs?rev=1476356&r1=1476355&r2=1476356&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/State/ConnectionStateTracker.cs (original)
+++ activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/State/ConnectionStateTracker.cs Fri Apr 26 19:40:04 2013
@@ -90,9 +90,9 @@ namespace Apache.NMS.ActiveMQ.State
             {
                 return (Tracked) command.visit(this);
             }
-            catch(IOException e)
+            catch(IOException)
             {
-                throw e;
+                throw;
             }
             catch(Exception e)
             {

Modified: activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Transport/Failover/FailoverTransport.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Transport/Failover/FailoverTransport.cs?rev=1476356&r1=1476355&r2=1476356&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Transport/Failover/FailoverTransport.cs (original)
+++ activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Transport/Failover/FailoverTransport.cs Fri Apr 26 19:40:04 2013
@@ -688,7 +688,7 @@ namespace Apache.NMS.ActiveMQ.Transport.
 
                                 // Rethrow the exception so it will handled by
                                 // the outer catch
-                                throw e;
+                                throw;
                             }
                             else
                             {

Modified: activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Transport/Tcp/SslTransport.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Transport/Tcp/SslTransport.cs?rev=1476356&r1=1476355&r2=1476356&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Transport/Tcp/SslTransport.cs (original)
+++ activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Transport/Tcp/SslTransport.cs Fri Apr 26 19:40:04 2013
@@ -137,7 +137,7 @@ namespace Apache.NMS.ActiveMQ.Transport.
                 }
                 Tracer.Error("Authentication failed - closing the connection.");
 
-                throw e;
+                throw;
             }
 
             return sslStream;
@@ -249,6 +249,5 @@ namespace Apache.NMS.ActiveMQ.Transport.
 
             return collection;
         }
-
     }
 }