activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r825967 - in /activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Commands: ActiveMQBytesMessage.cs ActiveMQStreamMessage.cs ActiveMQTextMessage.cs
Date Fri, 16 Oct 2009 15:58:39 GMT
Author: tabish
Date: Fri Oct 16 15:58:38 2009
New Revision: 825967

URL: http://svn.apache.org/viewvc?rev=825967&view=rev
Log:
* ActiveMQTextMessage.cs:
* ActiveMQBytesMessage.cs:
* ActiveMQStreamMessage.cs: 

Update to match new NMSExceptionSupport interface methods

Modified:
    activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Commands/ActiveMQBytesMessage.cs
    activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Commands/ActiveMQStreamMessage.cs
    activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Commands/ActiveMQTextMessage.cs

Modified: activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Commands/ActiveMQBytesMessage.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Commands/ActiveMQBytesMessage.cs?rev=825967&r1=825966&r2=825967&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Commands/ActiveMQBytesMessage.cs
(original)
+++ activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Commands/ActiveMQBytesMessage.cs
Fri Oct 16 15:58:38 2009
@@ -78,11 +78,11 @@
 			}
 			catch(EndOfStreamException e)
 			{
-				throw NMSExceptionSupport.createMessageEOFException(e);
+				throw NMSExceptionSupport.CreateMessageEOFException(e);
 			}
 			catch(IOException e)
 			{
-				throw NMSExceptionSupport.createMessageFormatException(e);
+				throw NMSExceptionSupport.CreateMessageFormatException(e);
 			}
 		}
 
@@ -95,7 +95,7 @@
 			}
 			catch(Exception e)
 			{
-				throw NMSExceptionSupport.create(e);
+				throw NMSExceptionSupport.Create(e);
 			}
 		}
 
@@ -108,11 +108,11 @@
 			}
 			catch(EndOfStreamException e)
 			{
-				throw NMSExceptionSupport.createMessageEOFException(e);
+				throw NMSExceptionSupport.CreateMessageEOFException(e);
 			}
 			catch(IOException e)
 			{
-				throw NMSExceptionSupport.createMessageFormatException(e);
+				throw NMSExceptionSupport.CreateMessageFormatException(e);
 			}
 		}
 
@@ -125,7 +125,7 @@
 			}
 			catch(Exception e)
 			{
-				throw NMSExceptionSupport.create(e);
+				throw NMSExceptionSupport.Create(e);
 			}
 		}
 
@@ -138,11 +138,11 @@
 			}
 			catch(EndOfStreamException e)
 			{
-				throw NMSExceptionSupport.createMessageEOFException(e);
+				throw NMSExceptionSupport.CreateMessageEOFException(e);
 			}
 			catch(IOException e)
 			{
-				throw NMSExceptionSupport.createMessageFormatException(e);
+				throw NMSExceptionSupport.CreateMessageFormatException(e);
 			}
 		}
 
@@ -155,7 +155,7 @@
 			}
 			catch(Exception e)
 			{
-				throw NMSExceptionSupport.create(e);
+				throw NMSExceptionSupport.Create(e);
 			}
 		}
 
@@ -168,11 +168,11 @@
 			}
 			catch(EndOfStreamException e)
 			{
-				throw NMSExceptionSupport.createMessageEOFException(e);
+				throw NMSExceptionSupport.CreateMessageEOFException(e);
 			}
 			catch(IOException e)
 			{
-				throw NMSExceptionSupport.createMessageFormatException(e);
+				throw NMSExceptionSupport.CreateMessageFormatException(e);
 			}
 		}
 
@@ -185,7 +185,7 @@
 			}
 			catch(Exception e)
 			{
-				throw NMSExceptionSupport.create(e);
+				throw NMSExceptionSupport.Create(e);
 			}
 		}
 
@@ -198,11 +198,11 @@
 			}
 			catch(EndOfStreamException e)
 			{
-				throw NMSExceptionSupport.createMessageEOFException(e);
+				throw NMSExceptionSupport.CreateMessageEOFException(e);
 			}
 			catch(IOException e)
 			{
-				throw NMSExceptionSupport.createMessageFormatException(e);
+				throw NMSExceptionSupport.CreateMessageFormatException(e);
 			}
 		}
 
@@ -215,7 +215,7 @@
 			}
 			catch(Exception e)
 			{
-				throw NMSExceptionSupport.create(e);
+				throw NMSExceptionSupport.Create(e);
 			}
 		}
 
@@ -228,11 +228,11 @@
 			}
 			catch(EndOfStreamException e)
 			{
-				throw NMSExceptionSupport.createMessageEOFException(e);
+				throw NMSExceptionSupport.CreateMessageEOFException(e);
 			}
 			catch(IOException e)
 			{
-				throw NMSExceptionSupport.createMessageFormatException(e);
+				throw NMSExceptionSupport.CreateMessageFormatException(e);
 			}
 		}
 
@@ -245,7 +245,7 @@
 			}
 			catch(Exception e)
 			{
-				throw NMSExceptionSupport.create(e);
+				throw NMSExceptionSupport.Create(e);
 			}
 		}
 
@@ -258,11 +258,11 @@
 			}
 			catch(EndOfStreamException e)
 			{
-				throw NMSExceptionSupport.createMessageEOFException(e);
+				throw NMSExceptionSupport.CreateMessageEOFException(e);
 			}
 			catch(IOException e)
 			{
-				throw NMSExceptionSupport.createMessageFormatException(e);
+				throw NMSExceptionSupport.CreateMessageFormatException(e);
 			}
 		}
 
@@ -275,7 +275,7 @@
 			}
 			catch(Exception e)
 			{
-				throw NMSExceptionSupport.create(e);
+				throw NMSExceptionSupport.Create(e);
 			}
 		}
 
@@ -288,11 +288,11 @@
 			}
 			catch(EndOfStreamException e)
 			{
-				throw NMSExceptionSupport.createMessageEOFException(e);
+				throw NMSExceptionSupport.CreateMessageEOFException(e);
 			}
 			catch(IOException e)
 			{
-				throw NMSExceptionSupport.createMessageFormatException(e);
+				throw NMSExceptionSupport.CreateMessageFormatException(e);
 			}
 		}
 
@@ -305,7 +305,7 @@
 			}
 			catch(Exception e)
 			{
-				throw NMSExceptionSupport.create(e);
+				throw NMSExceptionSupport.Create(e);
 			}
 		}
 
@@ -318,11 +318,11 @@
 			}
 			catch(EndOfStreamException e)
 			{
-				throw NMSExceptionSupport.createMessageEOFException(e);
+				throw NMSExceptionSupport.CreateMessageEOFException(e);
 			}
 			catch(IOException e)
 			{
-				throw NMSExceptionSupport.createMessageFormatException(e);
+				throw NMSExceptionSupport.CreateMessageFormatException(e);
 			}
 		}
 
@@ -335,11 +335,11 @@
 			}
 			catch(EndOfStreamException e)
 			{
-				throw NMSExceptionSupport.createMessageEOFException(e);
+				throw NMSExceptionSupport.CreateMessageEOFException(e);
 			}
 			catch(IOException e)
 			{
-				throw NMSExceptionSupport.createMessageFormatException(e);
+				throw NMSExceptionSupport.CreateMessageFormatException(e);
 			}
 		}
 
@@ -352,7 +352,7 @@
 			}
 			catch(Exception e)
 			{
-				throw NMSExceptionSupport.create(e);
+				throw NMSExceptionSupport.Create(e);
 			}
 		}
 
@@ -365,7 +365,7 @@
 			}
 			catch(Exception e)
 			{
-				throw NMSExceptionSupport.create(e);
+				throw NMSExceptionSupport.Create(e);
 			}
 		}
 
@@ -379,11 +379,11 @@
 			}
 			catch(EndOfStreamException e)
 			{
-				throw NMSExceptionSupport.createMessageEOFException(e);
+				throw NMSExceptionSupport.CreateMessageEOFException(e);
 			}
 			catch(IOException e)
 			{
-				throw NMSExceptionSupport.createMessageFormatException(e);
+				throw NMSExceptionSupport.CreateMessageFormatException(e);
 			}
 		}
 
@@ -397,7 +397,7 @@
 			}
 			catch(Exception e)
 			{
-				throw NMSExceptionSupport.create(e);
+				throw NMSExceptionSupport.Create(e);
 			}
 		}
 

Modified: activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Commands/ActiveMQStreamMessage.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Commands/ActiveMQStreamMessage.cs?rev=825967&r1=825966&r2=825967&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Commands/ActiveMQStreamMessage.cs
(original)
+++ activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Commands/ActiveMQStreamMessage.cs
Fri Oct 16 15:58:38 2009
@@ -71,16 +71,16 @@
 				catch(FormatException e)
 				{
 					this.byteBuffer.Seek(startingPos, SeekOrigin.Begin);
-					throw NMSExceptionSupport.createMessageFormatException(e);
+					throw NMSExceptionSupport.CreateMessageFormatException(e);
 				}
 			}
 			catch(EndOfStreamException e)
 			{
-				throw NMSExceptionSupport.createMessageEOFException(e);
+				throw NMSExceptionSupport.CreateMessageEOFException(e);
 			}
 			catch(IOException e)
 			{
-				throw NMSExceptionSupport.createMessageFormatException(e);
+				throw NMSExceptionSupport.CreateMessageFormatException(e);
 			}
 		}
 
@@ -117,16 +117,16 @@
 				catch(FormatException e)
 				{
 					this.byteBuffer.Seek(startingPos, SeekOrigin.Begin);
-					throw NMSExceptionSupport.createMessageFormatException(e);
+					throw NMSExceptionSupport.CreateMessageFormatException(e);
 				}
 			}
 			catch(EndOfStreamException e)
 			{
-				throw NMSExceptionSupport.createMessageEOFException(e);
+				throw NMSExceptionSupport.CreateMessageEOFException(e);
 			}
 			catch(IOException e)
 			{
-				throw NMSExceptionSupport.createMessageFormatException(e);
+				throw NMSExceptionSupport.CreateMessageFormatException(e);
 			}
 		}
 
@@ -159,16 +159,16 @@
 				catch(FormatException e)
 				{
 					this.byteBuffer.Seek(startingPos, SeekOrigin.Begin);
-					throw NMSExceptionSupport.createMessageFormatException(e);
+					throw NMSExceptionSupport.CreateMessageFormatException(e);
 				}
 			}
 			catch(EndOfStreamException e)
 			{
-				throw NMSExceptionSupport.createMessageEOFException(e);
+				throw NMSExceptionSupport.CreateMessageEOFException(e);
 			}
 			catch(IOException e)
 			{
-				throw NMSExceptionSupport.createMessageFormatException(e);
+				throw NMSExceptionSupport.CreateMessageFormatException(e);
 			}
 		}
 
@@ -209,16 +209,16 @@
 				catch(FormatException e)
 				{
 					this.byteBuffer.Seek(startingPos, SeekOrigin.Begin);
-					throw NMSExceptionSupport.createMessageFormatException(e);
+					throw NMSExceptionSupport.CreateMessageFormatException(e);
 				}
 			}
 			catch(EndOfStreamException e)
 			{
-				throw NMSExceptionSupport.createMessageEOFException(e);
+				throw NMSExceptionSupport.CreateMessageEOFException(e);
 			}
 			catch(IOException e)
 			{
-				throw NMSExceptionSupport.createMessageFormatException(e);
+				throw NMSExceptionSupport.CreateMessageFormatException(e);
 			}
 		}
 
@@ -263,16 +263,16 @@
 				catch(FormatException e)
 				{
 					this.byteBuffer.Seek(startingPos, SeekOrigin.Begin);
-					throw NMSExceptionSupport.createMessageFormatException(e);
+					throw NMSExceptionSupport.CreateMessageFormatException(e);
 				}
 			}
 			catch(EndOfStreamException e)
 			{
-				throw NMSExceptionSupport.createMessageEOFException(e);
+				throw NMSExceptionSupport.CreateMessageEOFException(e);
 			}
 			catch(IOException e)
 			{
-				throw NMSExceptionSupport.createMessageFormatException(e);
+				throw NMSExceptionSupport.CreateMessageFormatException(e);
 			}
 		}
 
@@ -321,16 +321,16 @@
 				catch(FormatException e)
 				{
 					this.byteBuffer.Seek(startingPos, SeekOrigin.Begin);
-					throw NMSExceptionSupport.createMessageFormatException(e);
+					throw NMSExceptionSupport.CreateMessageFormatException(e);
 				}
 			}
 			catch(EndOfStreamException e)
 			{
-				throw NMSExceptionSupport.createMessageEOFException(e);
+				throw NMSExceptionSupport.CreateMessageEOFException(e);
 			}
 			catch(IOException e)
 			{
-				throw NMSExceptionSupport.createMessageFormatException(e);
+				throw NMSExceptionSupport.CreateMessageFormatException(e);
 			}
 		}
 
@@ -367,16 +367,16 @@
 				catch(FormatException e)
 				{
 					this.byteBuffer.Seek(startingPos, SeekOrigin.Begin);
-					throw NMSExceptionSupport.createMessageFormatException(e);
+					throw NMSExceptionSupport.CreateMessageFormatException(e);
 				}
 			}
 			catch(EndOfStreamException e)
 			{
-				throw NMSExceptionSupport.createMessageEOFException(e);
+				throw NMSExceptionSupport.CreateMessageEOFException(e);
 			}
 			catch(IOException e)
 			{
-				throw NMSExceptionSupport.createMessageFormatException(e);
+				throw NMSExceptionSupport.CreateMessageFormatException(e);
 			}
 		}
 
@@ -417,16 +417,16 @@
 				catch(FormatException e)
 				{
 					this.byteBuffer.Seek(startingPos, SeekOrigin.Begin);
-					throw NMSExceptionSupport.createMessageFormatException(e);
+					throw NMSExceptionSupport.CreateMessageFormatException(e);
 				}
 			}
 			catch(EndOfStreamException e)
 			{
-				throw NMSExceptionSupport.createMessageEOFException(e);
+				throw NMSExceptionSupport.CreateMessageEOFException(e);
 			}
 			catch(IOException e)
 			{
-				throw NMSExceptionSupport.createMessageFormatException(e);
+				throw NMSExceptionSupport.CreateMessageFormatException(e);
 			}
 		}
 
@@ -493,15 +493,15 @@
 			catch(FormatException e)
 			{
 				this.byteBuffer.Seek(startingPos, SeekOrigin.Begin);
-				throw NMSExceptionSupport.createMessageFormatException(e);
+				throw NMSExceptionSupport.CreateMessageFormatException(e);
 			}
 			catch(EndOfStreamException e)
 			{
-				throw NMSExceptionSupport.createMessageEOFException(e);
+				throw NMSExceptionSupport.CreateMessageEOFException(e);
 			}
 			catch(IOException e)
 			{
-				throw NMSExceptionSupport.createMessageFormatException(e);
+				throw NMSExceptionSupport.CreateMessageFormatException(e);
 			}
 		}
 
@@ -552,11 +552,11 @@
 			}
 			catch(EndOfStreamException ex)
 			{
-				throw NMSExceptionSupport.createMessageEOFException(ex);
+				throw NMSExceptionSupport.CreateMessageEOFException(ex);
 			}
 			catch(IOException ex)
 			{
-				throw NMSExceptionSupport.createMessageFormatException(ex);
+				throw NMSExceptionSupport.CreateMessageFormatException(ex);
 			}
 		}
 
@@ -630,15 +630,15 @@
 			catch(FormatException e)
 			{
 				this.byteBuffer.Seek(startingPos, SeekOrigin.Begin);
-				throw NMSExceptionSupport.createMessageFormatException(e);
+				throw NMSExceptionSupport.CreateMessageFormatException(e);
 			}
 			catch(EndOfStreamException e)
 			{
-				throw NMSExceptionSupport.createMessageEOFException(e);
+				throw NMSExceptionSupport.CreateMessageEOFException(e);
 			}
 			catch(IOException e)
 			{
-				throw NMSExceptionSupport.createMessageFormatException(e);
+				throw NMSExceptionSupport.CreateMessageFormatException(e);
 			}
 		}
 
@@ -652,7 +652,7 @@
 			}
 			catch(IOException e)
 			{
-				NMSExceptionSupport.create(e);
+				NMSExceptionSupport.Create(e);
 			}
 		}
 
@@ -666,7 +666,7 @@
 			}
 			catch(IOException e)
 			{
-				NMSExceptionSupport.create(e);
+				NMSExceptionSupport.Create(e);
 			}
 		}
 
@@ -687,7 +687,7 @@
 			}
 			catch(IOException e)
 			{
-				NMSExceptionSupport.create(e);
+				NMSExceptionSupport.Create(e);
 			}
 		}
 
@@ -701,7 +701,7 @@
 			}
 			catch(IOException e)
 			{
-				NMSExceptionSupport.create(e);
+				NMSExceptionSupport.Create(e);
 			}
 		}
 
@@ -715,7 +715,7 @@
 			}
 			catch(IOException e)
 			{
-				NMSExceptionSupport.create(e);
+				NMSExceptionSupport.Create(e);
 			}
 		}
 
@@ -729,7 +729,7 @@
 			}
 			catch(IOException e)
 			{
-				NMSExceptionSupport.create(e);
+				NMSExceptionSupport.Create(e);
 			}
 		}
 
@@ -743,7 +743,7 @@
 			}
 			catch(IOException e)
 			{
-				NMSExceptionSupport.create(e);
+				NMSExceptionSupport.Create(e);
 			}
 		}
 
@@ -757,7 +757,7 @@
 			}
 			catch(IOException e)
 			{
-				NMSExceptionSupport.create(e);
+				NMSExceptionSupport.Create(e);
 			}
 		}
 
@@ -771,7 +771,7 @@
 			}
 			catch(IOException e)
 			{
-				NMSExceptionSupport.create(e);
+				NMSExceptionSupport.Create(e);
 			}
 		}
 
@@ -793,7 +793,7 @@
 			}
 			catch(IOException e)
 			{
-				NMSExceptionSupport.create(e);
+				NMSExceptionSupport.Create(e);
 			}
 		}
 

Modified: activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Commands/ActiveMQTextMessage.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Commands/ActiveMQTextMessage.cs?rev=825967&r1=825966&r2=825967&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Commands/ActiveMQTextMessage.cs
(original)
+++ activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Commands/ActiveMQTextMessage.cs
Fri Oct 16 15:58:38 2009
@@ -80,7 +80,7 @@
                 }
                 catch(IOException ex)
                 {
-                    throw NMSExceptionSupport.create(ex);
+                    throw NMSExceptionSupport.Create(ex);
                 }
 			}
 



Mime
View raw message