try { notificationHandler.setBaseDir(SVNBaseDir.getBaseDir(file)); _cmd.add(toString(file), recurse); } catch (CmdLineException e) {    if (e.getMessage().startsWith("svn: warning: ")) return; throw SVNClientException.wrapException(e); }
addDirectory(file, recurse, false);
	public void addDirectory(File file, boolean recurse) throws SVNClientException {		try {			notificationHandler.setBaseDir(SVNBaseDir.getBaseDir(file));			_cmd.add(toString(file), recurse);		} catch (CmdLineException e) {			//if something is already in svn and we			//try to add it, we get a warning.			//ignore it.\			if (e.getMessage().startsWith("svn: warning: "))				return;			throw SVNClientException.wrapException(e);		}	}