throw new BundleException("");
throw new BundleException(StateMsg.formatter.getString("COMMIT_INVALID_TIMESTAMP"));
	public synchronized void commit(State state) throws BundleException {		if (!(state instanceof StateImpl))			throw new IllegalArgumentException();		if (state.getTimeStamp() != systemState.getTimeStamp())			//TODO: create message in the catalog			throw new BundleException(""); //$NON-NLS-1$		StateDelta delta = state.getChanges();		BundleDelta[] addedBundles = delta.getChanges(BundleDelta.ADDED, false);		for (int i = 0; i < addedBundles.length; i++)			systemState.addBundle(factory.createBundleDescription(addedBundles[i].getBundle()));		BundleDelta[] removedBundles = delta.getChanges(BundleDelta.REMOVED, false);		for (int i = 0; i < removedBundles.length; i++)			systemState.removeBundle(removedBundles[i].getBundle());			}