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 2010/01/07 22:11:28 UTC

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

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