throw new SVNException(new SVNStatus(SVNStatus.ERROR, Policy.bind("SVNProvider.infoMismatch", project.getName())));
throw new SVNException(new SVNStatus(IStatus.ERROR, Policy.bind("SVNProvider.infoMismatch", project.getName())));
	public static void setSharing(IProject project, IProgressMonitor monitor) throws TeamException {				// Ensure provided info matches that of the project		LocalResourceStatus status = peekResourceStatusFor(project);        // this folder needs to be managed but also to have a remote counter-part        // because we need to know its url        // we will change this exception !        if (!status.hasRemote())            throw new SVNException(new SVNStatus(SVNStatus.ERROR, Policy.bind("SVNProvider.infoMismatch", project.getName())));//$NON-NLS-1$        		// Ensure that the provided location is managed		SVNProviderPlugin.getPlugin().getRepositories().getRepository(status.getUrlString());				// Register the project with Team		RepositoryProvider.map(project, SVNProviderPlugin.getTypeId());	}