throw new CoreException(LauncherUtils.createErrorStatus(PDEPlugin.getResourceString("WorkbenchLauncherConfigurationDelegate.badFeatureSetup")));
throw new CoreException(LauncherUtils.createErrorStatus(DebugUtil.getResourceString("WorkbenchLauncherConfigurationDelegate.badFeatureSetup")));
    private void validateFeatures()        throws CoreException    {        IPath installPath = PDEPlugin.getWorkspace().getRoot().getLocation();        String lastSegment = installPath.lastSegment();        boolean badStructure = lastSegment == null;        if(!badStructure)        {            IPath featuresPath = installPath.removeLastSegments(1).append("features");            badStructure = !lastSegment.equalsIgnoreCase("plugins") || !featuresPath.toFile().exists();        }        if(badStructure)        {            throw new CoreException(LauncherUtils.createErrorStatus(PDEPlugin.getResourceString("WorkbenchLauncherConfigurationDelegate.badFeatureSetup")));        } else        {            ensureProductFilesExist(getProductPath());            return;        }    }