2010-02-06 Michael Barker <mike@middlesoft.co.uk>
authorMichael Barker <mike@middlesoft.co.uk>
Sat, 6 Feb 2010 12:01:42 +0000 (12:01 -0000)
committerMichael Barker <mike@middlesoft.co.uk>
Sat, 6 Feb 2010 12:01:42 +0000 (12:01 -0000)
* ConnectionException.cs: Added additional text to aid debugging.

svn path=/trunk/mcs/; revision=150976

mcs/class/Mono.Messaging/Mono.Messaging/ChangeLog
mcs/class/Mono.Messaging/Mono.Messaging/ConnectionException.cs

index 2ffbee769b690e0b3455fd5a6f9c6ddc7bc14a9d..32005d818ad9eb25ea2a29309786c0d2ebcf4c09 100644 (file)
@@ -1,3 +1,7 @@
+2010-02-06  Michael Barker  <mike@middlesoft.co.uk>
+
+       * ConnectionException.cs: Added additional text to aid debugging.
+
 2009-07-20  Michael Barker  <mike@middlesoft.co.uk>
 
        * MessagingProviderLocator.cs: Changed System.Exceptions to
        * MessageType.cs: New
        * MessagingProviderLocator.cs: New
        * MonoMessagingException.cs: New
-       * QueueReference.cs: New
\ No newline at end of file
+       * QueueReference.cs: New
+
index a4ad6b0fd478393a1caa5a3c90ac664c8122708b..f613b044c768ef386beb2c7f368a386c05e4433e 100644 (file)
@@ -36,13 +36,13 @@ namespace Mono.Messaging {
                private readonly QueueReference qRef;
        
                public ConnectionException (QueueReference qRef, Exception e) 
-                       : base ("Unable to connect to Queue", e)
+                       : base ("Unable to connect to Queue: " + qRef + ", Error: " + e.Message, e)
                {
                        this.qRef = qRef;
                }
                
                public ConnectionException (QueueReference qRef) 
-                       : base ("Unable to connect to Queue")
+                       : base ("Unable to connect to Queue: " + qRef)
                {
                        this.qRef = qRef;
                }