Bug 21081 - Invalid error message on PartInitException
Summary: Invalid error message on PartInitException
Status: RESOLVED DUPLICATE of bug 22308
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Dirk Baeumer CLA
QA Contact:
URL:
Whiteboard:
Keywords: investigate
Depends on:
Blocks:
 
Reported: 2002-06-27 14:35 EDT by Murray Beaton CLA
Modified: 2002-08-13 10:54 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Murray Beaton CLA 2002-06-27 14:35:27 EDT
We have registered editors for files with extension .dbxmi.  In EJB jar files, 
if people try to launch our editor, we throw a PartInitException due to the 
fact that the input is not of type IFileEditorInput.  The resulting dialog 
from the thrown PartInitException has the following text prepended to our 
message sent with the exception:
"Cannot open Java Editor on schema.dbxmi."

This is incorrect.  It wasn't attempting to open the Java Editor.
Comment 1 Dirk Baeumer CLA 2002-07-29 12:56:58 EDT
The problem is the OpenAction. The action should honor the message provided by 
the PartInitException.
Comment 2 Dirk Baeumer CLA 2002-08-13 10:54:52 EDT

*** This bug has been marked as a duplicate of 22308 ***