diff options
Diffstat (limited to 'org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/breakpoints/AddExceptionAction.java')
-rw-r--r-- | org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/breakpoints/AddExceptionAction.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/breakpoints/AddExceptionAction.java b/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/breakpoints/AddExceptionAction.java index a15ff5dce..d8c2f1174 100644 --- a/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/breakpoints/AddExceptionAction.java +++ b/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/breakpoints/AddExceptionAction.java @@ -136,6 +136,7 @@ public class AddExceptionAction implements IViewActionDelegate, IWorkbenchWindow // If the breakpoint does not exist, add it. If it does exist, make sure it is enabled. if (!exists) { Job job = new Job(BreakpointMessages.AddExceptionAction_0) { + @Override protected IStatus run(IProgressMonitor monitor) { try { JDIDebugModel.createExceptionBreakpoint(resource, @@ -154,7 +155,8 @@ public class AddExceptionAction implements IViewActionDelegate, IWorkbenchWindow } else { final IJavaBreakpoint existingBreakpoint = breakpoint; Job job = new Job(BreakpointMessages.AddExceptionAction_EnableExceptionBreakpoint) { - protected IStatus run(IProgressMonitor monitor) { + @Override + protected IStatus run(IProgressMonitor monitor) { try { existingBreakpoint.setEnabled(true); return Status.OK_STATUS; |