2009-08-14 Atsushi Enomoto <atsushi@ximian.com>
authorAtsushi Eno <atsushieno@gmail.com>
Fri, 14 Aug 2009 12:35:24 +0000 (12:35 -0000)
committerAtsushi Eno <atsushieno@gmail.com>
Fri, 14 Aug 2009 12:35:24 +0000 (12:35 -0000)
* ChannelDispatcher.cs : EndpointNotFoundException message could
  be a bit kindful.

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

mcs/class/System.ServiceModel/System.ServiceModel.Dispatcher/ChangeLog
mcs/class/System.ServiceModel/System.ServiceModel.Dispatcher/ChannelDispatcher.cs

index 9660ffee05ee142e4595975462f7e40c23209899..d9ceab400c3eaaa63c72dd8d4e1a539abf781f82 100644 (file)
@@ -1,3 +1,8 @@
+2009-08-14  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * ChannelDispatcher.cs : EndpointNotFoundException message could
+         be a bit kindful.
+
 2009-08-11  Atsushi Enomoto  <atsushi@ximian.com>
 
        * IOperationInvoker.cs : fix interface.
index 234b647ab9141414b04b534fd2f50c408aca520a..4ad1ab0804fa7149f5621866c9748f39397c8e23 100644 (file)
@@ -568,7 +568,7 @@ namespace System.ServiceModel.Dispatcher
                                        }
                                }
                                if (candidate == null)
-                                       throw new EndpointNotFoundException (String.Format ("The request message has the target '{0}' which is not reachable in this service contract", message.Headers.To));
+                                       throw new EndpointNotFoundException (String.Format ("The request message has the target '{0}' with action '{1}' which is not reachable in this service contract", message.Headers.To, message.Headers.Action));
                                return candidate;
                        }
                }