SVNUIPlugin.openError(getContainer().getShell(), null, null, e);
Shell shell = null;  if (getContainer() != null) { shell = getContainer().getShell(); } SVNUIPlugin.openError(shell, null, null, e);
	private boolean doesSVNDirectoryExist() {		// Determine if there is an existing .svn/ directory from which configuration		// information can be retrieved.        boolean isSVNFolder = false;		try {		  ISVNLocalFolder folder = (ISVNLocalFolder)SVNWorkspaceRoot.getSVNResourceFor(project);		  LocalResourceStatus info = folder.getStatus();		  isSVNFolder = info.hasRemote();          		} catch (final TeamException e) {            SVNUIPlugin.openError(getContainer().getShell(), null, null, e);		}        return isSVNFolder; 	}