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
/*
	 * Consult the IOperationApprovers to see if the proposed undo should be
	 * allowed.
	 */
	private IStatus getUndoApproval(IUndoableOperation operation,
			IAdaptable info) {
		final Object[] approverArray = approvers.getListeners();
		for (int i = 0; i < approverArray.length; i++) {
			IOperationApprover approver = (IOperationApprover) approverArray[i];
			IStatus approval = approver.proceedUndoing(operation, this, info);
			if (!approval.isOK()) {
				if (DEBUG_OPERATION_HISTORY_APPROVAL) {
					Tracing.printTrace("OPERATIONHISTORY", 
							"Undo not approved by " + approver 
									+ "for operation " + operation 
									+ " with status " + approval); 
				}
				return approval;
			}
		}
		return Status.OK_STATUS;
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.core.commands.operations.IOperationHistory#getUndoHistory(org.eclipse.core.commands.operations.IUndoContext)
	 */
	public IUndoableOperation[] getUndoHistory(IUndoContext context) {
		Assert.isNotNull(context);
		return filter(undoList, context);