throw new BundleException(StateMsg.HEADER_DIRECTIVE_DUPLICATES);
throw new BundleException(NLS.bind(StateMsg.HEADER_DIRECTIVE_DUPLICATES, key));
	private static void checkForDuplicateDirectives(ManifestElement[] elements) throws BundleException {		// check for duplicate directives		for (int i = 0; i < elements.length; i++) {			Enumeration keys = elements[i].getDirectiveKeys();			if (keys != null) {				while (keys.hasMoreElements()) {					String key = (String) keys.nextElement();					String[] directives = elements[i].getDirectives(key);					if (directives.length > 1)						throw new BundleException(StateMsg.HEADER_DIRECTIVE_DUPLICATES);				}			}		}	}