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
private ITextEditor fMyTextEditor;
	private Position fPosition;
	public JavaSelectMarkerRulerAction(ResourceBundle bundle, String prefix, ITextEditor editor, IVerticalRulerInfo ruler) {
		super(bundle, prefix, editor, ruler);
		fMyTextEditor= editor;
	}
	
	public void run() {
		superCall: {
			if (fPosition == null)
				break superCall;
			ITextOperationTarget operation= (ITextOperationTarget) fMyTextEditor.getAdapter(ITextOperationTarget.class);
			final int opCode= CompilationUnitEditor.CORRECTIONASSIST_PROPOSALS;
			if (operation == null || !operation.canDoOperation(opCode)) {
				break superCall;
			}
			fMyTextEditor.selectAndReveal(fPosition.getOffset(), fPosition.getLength());
			operation.doOperation(opCode);
			return;
		}
		super.run();
	}
	
	public void update() {
		
		if (!(fMyTextEditor instanceof ITextEditorExtension) || ((ITextEditorExtension) fMyTextEditor).isEditorInputReadOnly()) {
			fPosition= null;
			super.update();
			return;