Bug 90698 [EditorMgmt] FileEditorInput.getStorage() API change
Eclipse 3.1 M6 FileEditorInput.getStorage() has changed to no longer throw a CoreException. Since this class is public this is a breaking API change. Workaround is to cast the FileEditorInput to an IFileEditorInput.
bundles/org.eclipse.ui.ide/extensions/org/eclipse/ui/part/FileEditorInput.java
* Method declared on IFileEditorInput.
     */
    public IFile getFile() {
        return file;
    }
    /* (non-Javadoc)
     * Method declared on IEditorInput.
     */
    public ImageDescriptor getImageDescriptor() {
        IContentType contentType = IDE.getContentType(file);
		return PlatformUI.getWorkbench().getEditorRegistry()
                .getImageDescriptor(file.getName(), contentType);
    }
    /* (non-Javadoc)
     * Method declared on IEditorInput.
     */
    public String getName() {
        return file.getName();
    }
    /* (non-Javadoc)
     * Method declared on IEditorInput.
     */
    public IPersistableElement getPersistable() {
        return this;
    }
    /* (non-Javadoc)
     * Method declared on IStorageEditorInput.
     */
    public IStorage getStorage() {
        return file;