Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Inglis2005-03-24 17:11:07 +0000
committerDavid Inglis2005-03-24 17:11:07 +0000
commit2ab4f6bf288faccd8daa9906f780f659bc866ce1 (patch)
treecf93b4fbce199d977f79dd9e4592912b9eb598f9 /launch/org.eclipse.cdt.launch
parent1b28d19f8fca4b73cb59c906e25558a777ca6d3f (diff)
downloadorg.eclipse.cdt-2ab4f6bf288faccd8daa9906f780f659bc866ce1.tar.gz
org.eclipse.cdt-2ab4f6bf288faccd8daa9906f780f659bc866ce1.tar.xz
org.eclipse.cdt-2ab4f6bf288faccd8daa9906f780f659bc866ce1.zip
let core exceptions go
Diffstat (limited to 'launch/org.eclipse.cdt.launch')
-rw-r--r--launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/internal/CoreFileLaunchDelegate.java13
1 files changed, 5 insertions, 8 deletions
diff --git a/launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/internal/CoreFileLaunchDelegate.java b/launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/internal/CoreFileLaunchDelegate.java
index 6f961a40d19..0ab6e74ab9f 100644
--- a/launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/internal/CoreFileLaunchDelegate.java
+++ b/launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/internal/CoreFileLaunchDelegate.java
@@ -81,7 +81,7 @@ public class CoreFileLaunchDelegate extends AbstractCLaunchDelegate {
iprocess = DebugPlugin.newProcess(launch, process, renderProcessLabel(exePath.toOSString()));
}
CDIDebugModel.newDebugTarget(launch, project.getProject(), targets[i], renderTargetLabel(debugConfig),
- iprocess, exeFile, true, false, false);
+ iprocess, exeFile, true, false, false);
}
} catch (CoreException e) {
try {
@@ -103,12 +103,9 @@ public class CoreFileLaunchDelegate extends AbstractCLaunchDelegate {
// consult a status handler
IStatusHandler prompter = DebugPlugin.getDefault().getStatusHandler(fPromptStatus);
if (prompter != null) {
- try {
- Object result = prompter.handleStatus(processPrompt, new Object[]{project, debugConfig});
- if (result instanceof IPath) {
- return (IPath)result;
- }
- } catch (CoreException e) {
+ Object result = prompter.handleStatus(processPrompt, new Object[]{project, debugConfig});
+ if (result instanceof IPath) {
+ return (IPath)result;
}
}
return null;
@@ -124,7 +121,7 @@ public class CoreFileLaunchDelegate extends AbstractCLaunchDelegate {
* @see org.eclipse.cdt.launch.AbstractCLaunchConfigurationDelegate#preLaunchCheck(org.eclipse.debug.core.ILaunchConfiguration,
* java.lang.String, org.eclipse.core.runtime.IProgressMonitor)
*/
- public boolean preLaunchCheck(ILaunchConfiguration configuration, String mode, IProgressMonitor monitor) throws CoreException {
+ public boolean preLaunchCheck(ILaunchConfiguration configuration, String mode, IProgressMonitor monitor) {
return true; // no pre launch check for core file
}
} \ No newline at end of file

Back to the top