From 8fc80679052a0c6e6079904bad17d4e225c03acc Mon Sep 17 00:00:00 2001 From: Andrew Ferguson Date: Wed, 14 May 2008 10:21:01 +0000 Subject: [PATCH] fix regression in error handling --- .../core/pdom/export/GeneratePDOMApplication.java | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/pdom/export/GeneratePDOMApplication.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/pdom/export/GeneratePDOMApplication.java index df0c1972d0c..17e7fe677dc 100644 --- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/pdom/export/GeneratePDOMApplication.java +++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/pdom/export/GeneratePDOMApplication.java @@ -116,11 +116,7 @@ public class GeneratePDOMApplication implements IApplication { GeneratePDOM generate = new GeneratePDOM(pprovider, appArgs, targetLocation, indexerID); output(Messages.GeneratePDOMApplication_GenerationStarts); - try { - generate.run(); - } catch(CoreException ce) { - CCorePlugin.log(ce); - } + generate.run(); // CoreException handled in start method output(Messages.GeneratePDOMApplication_GenerationEnds); return null; } @@ -134,7 +130,7 @@ public class GeneratePDOMApplication implements IApplication { } /** - * Causes the appliation to fail in a way that has been anticipated (e.g. a command-line or interface + * Causes the application to fail in a way that has been anticipated (e.g. a command-line or interface * contract violation by a extension implementation) * @param message * @throws CoreException @@ -146,7 +142,7 @@ public class GeneratePDOMApplication implements IApplication { } /** - * Returns the IExportProjectProvider registed in the plug-in registry under the + * Returns the IExportProjectProvider registered in the plug-in registry under the * specified fully qualified class name * May return null * @param fqn