JavaPlugin.log(e); } catch(CoreException e) { JavaPlugin.log(e);
Throwable wrapped= e.getThrowable(); if (wrapped instanceof CoreException) { ExceptionHandler.handle((CoreException) wrapped, CorrectionMessages.getString("ChangeCorrectionProposal.error.title"), CorrectionMessages.getString("ChangeCorrectionProposal.error.message")); } else { throw e; }
	public void apply(IDocument document) {		Change change= null;		try {			change= getChange();			if (change != null) {				ChangeContext context= new ChangeContext(new AbortChangeExceptionHandler());				change.aboutToPerform(context, new NullProgressMonitor());				change.perform(context, new NullProgressMonitor());			}		} catch (ChangeAbortException e) {			JavaPlugin.log(e);		} catch(CoreException e) {			JavaPlugin.log(e);		} finally {			if (change != null) {				change.performed();			}		}	}