throw new ClassNotFoundException(message);
ClassNotFoundException exception = new ClassNotFoundException(message); EclipseAdaptor.getDefault().getFrameworkLog().log(new FrameworkLogEntry(FrameworkAdaptor.FRAMEWORK_SYMBOLICNAME, message, 0, exception, null)); throw exception;
	private boolean shouldActivateFor(String className) throws ClassNotFoundException {		//Don't reactivate on shut down		if (hostdata.getAdaptor().isStopping()) {			BundleStopper stopper = EclipseAdaptor.getDefault().getBundleStopper();			if (stopper != null && stopper.isStopped(hostdata.getSymbolicName())) {				String message = EclipseAdaptorMsg.formatter.getString("ECLIPSE_CLASSLOADER_ALREADY_STOPPED", className, hostdata.getSymbolicName()); //$NON-NLS-1$				throw new ClassNotFoundException(message);			}		}		boolean autoStart = ((EclipseBundleData) hostdata).isAutoStart();		String[] autoStartExceptions = ((EclipseBundleData) hostdata).getAutoStartExceptions();		// no exceptions, it is easy to figure it out		if (autoStartExceptions == null)			return autoStart;		// otherwise, we need to check if the package is in the exceptions list		int dotPosition = className.lastIndexOf('.');		// the class has no package name... no exceptions apply		if (dotPosition == -1)			return autoStart;		String packageName = className.substring(0, dotPosition);		// should activate if autoStart and package is not an exception, or if !autoStart and package is exception		return autoStart ^ contains(autoStartExceptions, packageName);	}