View | Details | Raw Unified | Return to bug 59153
Collapse All | Expand All

(-)AspectJEditor.java (-1 / +3 lines)
Lines 322-328 Link Here
322
	}
322
	}
323
323
324
	public void doSetInput(IEditorInput input) throws CoreException {
324
	public void doSetInput(IEditorInput input) throws CoreException {
325
325
		
326
		super.doSetInput(input);
326
		super.doSetInput(input);
327
		if (input instanceof IFileEditorInput) {
327
		if (input instanceof IFileEditorInput) {
328
			IFileEditorInput fInput = (IFileEditorInput) input;
328
			IFileEditorInput fInput = (IFileEditorInput) input;
Lines 394-399 Link Here
394
	              addNewMarkers(fInput);
394
	              addNewMarkers(fInput);
395
395
396
				} catch (CoreException ce) {
396
				} catch (CoreException ce) {
397
					//if file has been deleted, don't throw exception
398
					if (fInput.getFile().exists())
397
                  AspectJPlugin.getDefault().getErrorHandler().
399
                  AspectJPlugin.getDefault().getErrorHandler().
398
                    handleError("Advice marker updates failed", ce);	
400
                    handleError("Advice marker updates failed", ce);	
399
				}
401
				}

Return to bug 59153