Bug 179551 [Undo] DefaultOperationHistory should write exceptions to log when running in Eclipse
I20070323-1616 DefaultOperationHistory#handleNotificationException(..) should write exceptions to the log when running in Eclipse. Bugs like 176644 are easy to miss when exceptions only appear on the console.
bundles/org.eclipse.core.commands/src/org/eclipse/core/commands/operations/DefaultOperationHistory.java
for (int i = 0; i < filtered.length; i++) {
			IUndoableOperation operation = (IUndoableOperation) filtered[i];
			if (context == GLOBAL_UNDO_CONTEXT
					|| operation.getContexts().length == 1) {
				
				
				redoList.remove(operation);
				internalRemove(operation);
			} else {
				  
				
				
				
				IUndoContext[] contexts = operation.getContexts();
				for (int j=0; j<contexts.length; j++) {
					if (contexts[j].matches(context)) {
						operation.removeContext(contexts[j]);
					}
				}
				if (operation.getContexts().length == 0) {
					redoList.remove(operation);
					internalRemove(operation);
				}
			}
		}
	}
	/*
	 * Flush the undo stack of all operations that have the given context.
	 */
	private void flushUndo(IUndoContext context) {