Bug 139986 [CommonNavigator] Convert catch(Error/Throwable) to SafeRunner
In several places the CN framework uses catch(Error/Throwable) to ensure that code does not bring the framework down. Change these to use SafeRunner.
bundles/org.eclipse.ui.navigator/src/org/eclipse/ui/internal/navigator/extensions/NavigatorContentDescriptorManager.java
+ "\" specified from \"" 
									+ descriptor.getId() + "\" in \"" + descriptor.getContribution() 
											.getPluginId()
									+ "\". No extension with matching id found."; 
					if (Policy.DEBUG_EXTENSION_SETUP) {
						System.out.println("Error: " + message); 
					}
					NavigatorPlugin.logError(0, message, null);
				}
			}
		}
	}
	
	private int findId(List list, String id) {
		for (int i = 0, len = list.size(); i < len; i++) {
			NavigatorContentDescriptor desc = (NavigatorContentDescriptor) list.get(i);
			if (desc.getId().equals(id))
				return i;
		}
		throw new RuntimeException("Can't find id: " + id); 
	}
	
	private void computeSequenceNumbers() {
		NavigatorContentDescriptor[] descs = getAllContentDescriptors();
		LinkedList list = new LinkedList();
		for (int i = 0; i < descs.length; i++) {
			list.add(descs[i]);
		}
		
		boolean changed = true;