JavaUIException t= new JavaUIException(status); ExceptionHandler.handle(t, "Delete", "Unexpected exception. See log for details.");
JavaPlugin.log(status); ErrorDialog.openError(JavaPlugin.getActiveWorkbenchShell(), "Delete", "Unexpected exception. See log for details.", status);
	public void run() {		if (hasOnlyProjects()){			deleteProjects();			return;		}			DeleteRefactoring refactoring= new DeleteRefactoring(getStructuredSelection().toList());				fDeleteProjectContent= false;		if (!confirmDelete())			return;		if (hasReadOnlyResources() && !isOkToDeleteReadOnly()) 			return;		refactoring.setDeleteProjectContents(fDeleteProjectContent);		try{			MultiStatus status= ReorgAction.perform(refactoring);			if (!status.isOK()) {				JavaUIException t= new JavaUIException(status);				ExceptionHandler.handle(t, "Delete", "Unexpected exception. See log for details.");			}		} catch (JavaModelException e){			ExceptionHandler.handle(e, "Delete", "Unexpected exception. See log for details.");			return;		}		}