1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

fix regression in error handling

This commit is contained in:
Andrew Ferguson 2008-05-14 10:21:01 +00:00
parent fd77ff4e64
commit 8fc8067905

View file

@ -116,11 +116,7 @@ public class GeneratePDOMApplication implements IApplication {
GeneratePDOM generate = new GeneratePDOM(pprovider, appArgs, targetLocation, indexerID); GeneratePDOM generate = new GeneratePDOM(pprovider, appArgs, targetLocation, indexerID);
output(Messages.GeneratePDOMApplication_GenerationStarts); output(Messages.GeneratePDOMApplication_GenerationStarts);
try { generate.run(); // CoreException handled in start method
generate.run();
} catch(CoreException ce) {
CCorePlugin.log(ce);
}
output(Messages.GeneratePDOMApplication_GenerationEnds); output(Messages.GeneratePDOMApplication_GenerationEnds);
return null; 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) * contract violation by a extension implementation)
* @param message * @param message
* @throws CoreException * @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 * specified fully qualified class name
* May return null * May return null
* @param fqn * @param fqn