Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 346802

Summary: misleading exception message for incorrect Service name
Product: [Tools] TCF Reporter: Samuel B. Quiring <sam.quiring>
Component: CoreAssignee: Project Inbox <tcf.core-inbox>
Status: RESOLVED FIXED QA Contact: Eugene Tarassov <eugene>
Severity: normal    
Priority: P3 CC: cdtdoug
Version: unspecified   
Target Milestone: 0.4.0   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Samuel B. Quiring CLA 2011-05-21 20:55:13 EDT
Build Identifier: 3.6.2

An ErrorReport exception is raised with message "Command is not recognized" if the 'service' parameter to InnerCommand() does not agree with the server's Service name.  This is misleading because there is a 'command' parameter to the InnerCommand constructor.  On the server an "Invalid peerAdded event" is displayed.

Reproducible: Always

Steps to Reproduce:
1. Set up a TCF ICommandServer instance with name "x"
2. try to connect to that server with an InnerCommand where the service name is "y".
Comment 1 Eugene Tarassov CLA 2011-07-25 16:15:26 EDT
Fixed.

Now the message looks like "No such service: y"