throw new BadDelimeterException(newDelim + " is not a safe delimiter.");
throw new BadDelimiterException(newDelim + " is not a safe delimiter.");
	public void changeDelimiter(char newDelim) throws BadDelimeterException {		if (newDelim == delimiter) return; // no need to do anything.		if (!charIsSafe(newDelim)){			throw new BadDelimeterException(newDelim + " is not a safe delimiter.");		}		updateCharacterClasses(delimiter, newDelim);		// keep a record of the current delimiter.		delimiter = newDelim;	}