activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r897014 - /activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Commands/TextMessage.cs
Date Thu, 07 Jan 2010 21:11:28 GMT
Author: tabish
Date: Thu Jan  7 21:11:12 2010
New Revision: 897014

URL: http://svn.apache.org/viewvc?rev=897014&view=rev
Log:
Remove unnecessary try catch block from the Text get method.

Modified:
    activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Commands/TextMessage.cs

Modified: activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Commands/TextMessage.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Commands/TextMessage.cs?rev=897014&r1=897013&r2=897014&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Commands/TextMessage.cs
(original)
+++ activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Commands/TextMessage.cs
Thu Jan  7 21:11:12 2010
@@ -65,14 +65,7 @@
         {
             get
             {
-                try
-                {
-                    return this.text;
-                }
-                catch(IOException ex)
-                {
-                    throw NMSExceptionSupport.Create(ex);
-                }
+                return this.text;
             }
 
             set



Mime
View raw message