permissionMsg = Msg.formatter.getString("BUNDLE_PERMISSION_EXCEPTION_PROVIDE", supplierBundle, bundles[i].getName());
runtimeResolveError = Msg.formatter.getString("BUNDLE_PERMISSION_EXCEPTION_PROVIDE", supplierBundle, bundles[i].getName());
	protected boolean checkPermissions() {		permissionMsg = null;		BundleDescription bundleDesc = getBundleDescription();		if (bundleDesc == null)			return false;		PackageSpecification[] pkgs = bundleDesc.getPackages();		for (int i = 0; i < pkgs.length; i++) {			// check to make sure the exporter has permissions			BundleDescription supplier = pkgs[i].getSupplier();			AbstractBundle supplierBundle = supplier == null ? null : framework.getBundle(supplier.getBundleId());			if (supplierBundle == null || !supplierBundle.checkExportPackagePermission(pkgs[i].getName())) {				permissionMsg = Msg.formatter.getString("BUNDLE_PERMISSION_EXCEPTION_EXPORT", supplierBundle, pkgs[i].getName());				return false;			}			// check to make sure the importer has permissions			if (!checkImportPackagePermission(pkgs[i].getName())) {				permissionMsg = Msg.formatter.getString("BUNDLE_PERMISSION_EXCEPTION_IMPORT", this, pkgs[i].getName());				return false;			}		}		BundleSpecification[] bundles = bundleDesc.getRequiredBundles();		for (int i = 0; i < bundles.length; i++) {			// check to make sure the provider has permissions			BundleDescription supplier = bundles[i].getSupplier();			AbstractBundle supplierBundle = supplier == null ? null : framework.getBundle(supplier.getBundleId());			if (supplierBundle == null || !supplierBundle.checkProvideBundlePermission(bundles[i].getName())) {				permissionMsg = Msg.formatter.getString("BUNDLE_PERMISSION_EXCEPTION_PROVIDE", supplierBundle, bundles[i].getName());				return false;			}			// check to make sure the requirer has permissions			if (!checkRequireBundlePermission(bundles[i].getName())) {				permissionMsg = Msg.formatter.getString("BUNDLE_PERMISSION_EXCEPTION_REQUIRE", this, bundles[i].getName());				return false;			}		}		HostSpecification host = bundleDesc.getHost();		if (host != null) {			// check to make sure the host has permissions			BundleDescription supplier = host.getSupplier();			AbstractBundle supplierBundle = supplier == null ? null : framework.getBundle(supplier.getBundleId());			if (supplierBundle == null || !supplierBundle.checkFragmentHostPermission(host.getName())) {				permissionMsg = Msg.formatter.getString("BUNDLE_PERMISSION_EXCEPTION_HOST", supplierBundle, host.getName());				return false;			}			// check to make sure the fragment has permissions			if (!checkFragmentBundlePermission(host.getName())) {				permissionMsg = Msg.formatter.getString("BUNDLE_PERMISSION_EXCEPTION_FRAGMENT", this, host.getName());				return false;			}		}		return true;	}