activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jgo...@apache.org
Subject svn commit: r760518 - in /activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp: ./ Util/
Date Tue, 31 Mar 2009 16:54:39 GMT
Author: jgomes
Date: Tue Mar 31 16:54:38 2009
New Revision: 760518

URL: http://svn.apache.org/viewvc?rev=760518&view=rev
Log:
Add default constructor to all exception classes.

Modified:
    activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/IllegalStateException.cs
    activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/InvalidClientIDException.cs
    activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/InvalidDestinationException.cs
    activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/InvalidSelectorException.cs
    activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/MessageEOFException.cs
    activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/MessageFormatException.cs
    activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/MessageNotReadableException.cs
    activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/MessageNotWriteableException.cs
    activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/NMSConnectionException.cs
    activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/NMSException.cs
    activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/NMSSecurityException.cs
    activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/ResourceAllocationException.cs
    activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/TransactionInProgressException.cs
    activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/TransactionRolledBackException.cs
    activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/Util/URISupport.cs

Modified: activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/IllegalStateException.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/IllegalStateException.cs?rev=760518&r1=760517&r2=760518&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/IllegalStateException.cs (original)
+++ activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/IllegalStateException.cs Tue
Mar 31 16:54:38 2009
@@ -24,6 +24,11 @@
 	[Serializable]
 	public class IllegalStateException : NMSException
 	{
+		public IllegalStateException()
+			: base()
+		{
+		}
+
 		public IllegalStateException(string message)
 			: base(message)
 		{

Modified: activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/InvalidClientIDException.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/InvalidClientIDException.cs?rev=760518&r1=760517&r2=760518&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/InvalidClientIDException.cs
(original)
+++ activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/InvalidClientIDException.cs
Tue Mar 31 16:54:38 2009
@@ -24,6 +24,11 @@
 	[Serializable]
 	public class InvalidClientIDException : NMSException
 	{
+		public InvalidClientIDException()
+			: base()
+		{
+		}
+
 		public InvalidClientIDException(string message)
 			: base(message)
 		{

Modified: activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/InvalidDestinationException.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/InvalidDestinationException.cs?rev=760518&r1=760517&r2=760518&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/InvalidDestinationException.cs
(original)
+++ activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/InvalidDestinationException.cs
Tue Mar 31 16:54:38 2009
@@ -23,6 +23,11 @@
 	/// </summary>
 	public class InvalidDestinationException : NMSException
 	{
+		public InvalidDestinationException()
+			: base()
+		{
+		}
+
 		public InvalidDestinationException(string message)
 			: base(message)
 		{

Modified: activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/InvalidSelectorException.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/InvalidSelectorException.cs?rev=760518&r1=760517&r2=760518&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/InvalidSelectorException.cs
(original)
+++ activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/InvalidSelectorException.cs
Tue Mar 31 16:54:38 2009
@@ -24,6 +24,11 @@
 	[Serializable]
 	public class InvalidSelectorException : NMSException
 	{
+		public InvalidSelectorException()
+			: base()
+		{
+		}
+
 		public InvalidSelectorException(string message)
 			: base(message)
 		{

Modified: activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/MessageEOFException.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/MessageEOFException.cs?rev=760518&r1=760517&r2=760518&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/MessageEOFException.cs (original)
+++ activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/MessageEOFException.cs Tue Mar
31 16:54:38 2009
@@ -24,6 +24,11 @@
 	[Serializable]
 	public class MessageEOFException : NMSException
 	{
+		public MessageEOFException()
+			: base()
+		{
+		}
+
 		public MessageEOFException(string message)
 			: base(message)
 		{

Modified: activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/MessageFormatException.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/MessageFormatException.cs?rev=760518&r1=760517&r2=760518&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/MessageFormatException.cs (original)
+++ activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/MessageFormatException.cs Tue
Mar 31 16:54:38 2009
@@ -24,6 +24,11 @@
 	[Serializable]
 	public class MessageFormatException : NMSException
 	{
+		public MessageFormatException()
+			: base()
+		{
+		}
+
 		public MessageFormatException(string message)
 			: base(message)
 		{

Modified: activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/MessageNotReadableException.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/MessageNotReadableException.cs?rev=760518&r1=760517&r2=760518&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/MessageNotReadableException.cs
(original)
+++ activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/MessageNotReadableException.cs
Tue Mar 31 16:54:38 2009
@@ -24,6 +24,11 @@
 	[Serializable]
 	public class MessageNotReadableException : NMSException
 	{
+		public MessageNotReadableException()
+			: base()
+		{
+		}
+
 		public MessageNotReadableException(string message)
 			: base(message)
 		{

Modified: activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/MessageNotWriteableException.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/MessageNotWriteableException.cs?rev=760518&r1=760517&r2=760518&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/MessageNotWriteableException.cs
(original)
+++ activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/MessageNotWriteableException.cs
Tue Mar 31 16:54:38 2009
@@ -24,6 +24,11 @@
 	[Serializable]
 	public class MessageNotWriteableException : NMSException
 	{
+		public MessageNotWriteableException()
+			: base()
+		{
+		}
+
 		public MessageNotWriteableException(string message)
 			: base(message)
 		{

Modified: activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/NMSConnectionException.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/NMSConnectionException.cs?rev=760518&r1=760517&r2=760518&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/NMSConnectionException.cs (original)
+++ activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/NMSConnectionException.cs Tue
Mar 31 16:54:38 2009
@@ -23,6 +23,11 @@
 	/// </summary>
 	public class NMSConnectionException : NMSException
 	{
+		public NMSConnectionException()
+			: base()
+		{
+		}
+
 		public NMSConnectionException(string message)
 			: base(message)
 		{

Modified: activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/NMSException.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/NMSException.cs?rev=760518&r1=760517&r2=760518&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/NMSException.cs (original)
+++ activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/NMSException.cs Tue Mar 31 16:54:38
2009
@@ -27,6 +27,11 @@
 	{
 		protected string exceptionErrorCode;
 
+		public NMSException()
+			: base()
+		{
+		}
+
 		public NMSException(string message)
 			: base(message)
 		{

Modified: activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/NMSSecurityException.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/NMSSecurityException.cs?rev=760518&r1=760517&r2=760518&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/NMSSecurityException.cs (original)
+++ activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/NMSSecurityException.cs Tue
Mar 31 16:54:38 2009
@@ -24,6 +24,11 @@
 	/// </summary>
 	public class NMSSecurityException : NMSException
 	{
+		public NMSSecurityException()
+			: base()
+		{
+		}
+
 		public NMSSecurityException(string message)
 			: base(message)
 		{

Modified: activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/ResourceAllocationException.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/ResourceAllocationException.cs?rev=760518&r1=760517&r2=760518&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/ResourceAllocationException.cs
(original)
+++ activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/ResourceAllocationException.cs
Tue Mar 31 16:54:38 2009
@@ -24,6 +24,11 @@
 	[Serializable]
 	public class ResourceAllocationException : NMSException
 	{
+		public ResourceAllocationException()
+			: base()
+		{
+		}
+
 		public ResourceAllocationException(string message)
 			: base(message)
 		{

Modified: activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/TransactionInProgressException.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/TransactionInProgressException.cs?rev=760518&r1=760517&r2=760518&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/TransactionInProgressException.cs
(original)
+++ activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/TransactionInProgressException.cs
Tue Mar 31 16:54:38 2009
@@ -24,6 +24,11 @@
 	[Serializable]
 	public class TransactionInProgressException : NMSException
 	{
+		public TransactionInProgressException()
+			: base()
+		{
+		}
+
 		public TransactionInProgressException(string message)
 			: base(message)
 		{

Modified: activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/TransactionRolledBackException.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/TransactionRolledBackException.cs?rev=760518&r1=760517&r2=760518&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/TransactionRolledBackException.cs
(original)
+++ activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/TransactionRolledBackException.cs
Tue Mar 31 16:54:38 2009
@@ -24,6 +24,11 @@
 	[Serializable]
 	public class TransactionRolledBackException : NMSException
 	{
+		public TransactionRolledBackException()
+			: base()
+		{
+		}
+
 		public TransactionRolledBackException(string message)
 			: base(message)
 		{

Modified: activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/Util/URISupport.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/Util/URISupport.cs?rev=760518&r1=760517&r2=760518&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/Util/URISupport.cs (original)
+++ activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/Util/URISupport.cs Tue Mar 31
16:54:38 2009
@@ -58,7 +58,7 @@
 
 					if(nameValue.Length != 2)
 					{
-						throw new NMS.NMSException("Invalid Uri parameter: " + query);
+						throw new NMS.NMSException(string.Format("Invalid Uri parameter: {0}", query));
 					}
 
 					map[nameValue[0]] = nameValue[1];



Mime
View raw message