Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 346802 - misleading exception message for incorrect Service name
Summary: misleading exception message for incorrect Service name
Status: RESOLVED FIXED
Alias: None
Product: TCF
Classification: Tools
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 0.4.0   Edit
Assignee: Project Inbox CLA
QA Contact: Eugene Tarassov CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-21 20:55 EDT by Samuel B. Quiring CLA
Modified: 2013-06-05 05:54 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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"