Project: Eclipse_Platform_UI
Bug 126082 Should ISaveableModel#doSave throw a CoreException?
Reported: 2006-02-01 14:46:15 | Status: verified fixed

Should ISaveableModel#doSave throw a CoreException? Without this, models will need access to a UI context (i.e. a shell) and would need to cancel the progress monitor if an error occur. If the save throws a CoreException, the model would not need to do any promting on a save failure.

Files changed in fix:
bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/ISaveableModel.java bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/EditorManager.java bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/SaveableHelper.java