Bug 32299 No quick fix for uncaught exception
I have the following method where the call to execute(Runnable) throws an Exception. The code does not compile with: Kind Status Priority Description Resource In Folder Location Error Unhandled exception type EmptyThreadPoolException MQCommunicationManager.java Transidiom- DevE/Java/Source/com/seagullsw/appinterface/server/comm/ibmmq line 129 which is good but there is no quick fix to wrap the call with a try catch block: "No corrections available". protected void processNextInputQueueMessage() { final MQMessage inputMessage = this.readNextInputQueueMessage (); if ((this.isStopFlagUp()) || (inputMessage == null)) { return; } final String request = this.getStringMessage(inputMessage); if (request != null) { this.getAIS().execute(new Runnable() { public void run() { String response = MQCommunicationManager.this.execute(request, inputMessage); if (response != null) { MQCommunicationManager.this.putMessageOnQ(response, MQCommunicationManager.this.getOutputQueue(), inputMessage); } } }); } } Version: 2.1 Build id: 200302061700
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaSelectMarkerRulerAction.java
/*******************************************************************************
 * Copyright (c) 2002 International Business Machines Corp. and others.
 * All rights reserved. This program and the accompanying materials 
 * are made available under the terms of the Common Public License v0.5 
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/cpl-v05.html
 * 
 * Contributors:
 *     IBM Corporation - initial API and implementation
 ******************************************************************************/
package org.eclipse.jdt.internal.ui.javaeditor;
import java.util.Iterator;
import java.util.ResourceBundle;
import org.eclipse.jface.text.IDocument;
import org.eclipse.jface.text.ITextOperationTarget;
import org.eclipse.jface.text.Position;
import org.eclipse.jface.text.source.Annotation;
import org.eclipse.jface.text.source.IVerticalRulerInfo;
import org.eclipse.ui.texteditor.AbstractMarkerAnnotationModel;
import org.eclipse.ui.texteditor.ITextEditor;
import org.eclipse.ui.texteditor.ITextEditorExtension;
import org.eclipse.ui.texteditor.SelectMarkerRulerAction;
import org.eclipse.jdt.internal.ui.text.correction.JavaCorrectionProcessor;
/**
 * A special select marker ruler action which activates quick fix if clicked on a quick fixable problem.
 */
public class JavaSelectMarkerRulerAction extends SelectMarkerRulerAction {