ci.print("  "); ci.println(message);
	public void _diag(CommandInterpreter ci) throws Exception {		String nextArg = ci.nextArgument();		if (nextArg == null) {			ci.println(EclipseAdaptorMsg.ECLIPSE_CONSOLE_NO_BUNDLE_SPECIFIED_ERROR);			return;		}		ServiceReference platformAdminRef = context.getServiceReference(PlatformAdmin.class.getName());		if (platformAdminRef == null) {			ci.print("  "); //$NON-NLS-1$			ci.println(EclipseAdaptorMsg.ECLIPSE_CONSOLE_NO_CONSTRAINTS_NO_PLATFORM_ADMIN_MESSAGE);			return;		}		try {			PlatformAdmin platformAdmin = (PlatformAdmin) context.getService(platformAdminRef);			if (platformAdmin == null)				return;			State systemState = platformAdmin.getState(false);			while (nextArg != null) {				BundleDescription bundle = getBundleDescriptionFromToken(systemState, nextArg);				if (bundle == null) {					ci.println(NLS.bind(EclipseAdaptorMsg.ECLIPSE_CONSOLE_CANNOT_FIND_BUNDLE_ERROR, nextArg));					nextArg = ci.nextArgument();					continue;				}				ci.println(bundle.getLocation() + " [" + bundle.getBundleId() + "]"); //$NON-NLS-1$ //$NON-NLS-2$				VersionConstraint[] unsatisfied = platformAdmin.getStateHelper().getUnsatisfiedConstraints(bundle);				if (unsatisfied.length == 0) {					// init default message					String message = EclipseAdaptorMsg.ECLIPSE_CONSOLE_NO_CONSTRAINTS; 					if (!bundle.isResolved()) {						// another version might have been picked											String symbolicName = bundle.getSymbolicName();						BundleDescription resolved = symbolicName == null ? null : getResolvedBundle(systemState, symbolicName);						if (resolved != null)							message = NLS.bind(EclipseAdaptorMsg.ECLIPSE_CONSOLE_OTHER_VERSION, resolved.getLocation()); 					}					ci.print("  "); //$NON-NLS-1$					ci.println(message);				}				for (int i = 0; i < unsatisfied.length; i++) {					ci.print("  "); //$NON-NLS-1$					ci.println(EclipseAdaptorMsg.getResolutionFailureMessage(unsatisfied[i]));				}				nextArg = ci.nextArgument();			}		} finally {			context.ungetService(platformAdminRef);		}	}