Bug 118516 [DataBinding] Asserts should provide meaningful messages
Currently we use JDK Assert in various places in the code. However, if an assert fails, there often is no indication of why it failed or what the assert failure means without looking at the code indicated by the stack trace. It would be nicer if we would log exceptions or throw RuntimeExceptions with useful error messages instead.
bundles/org.eclipse.core.databinding.beans/src/org/eclipse/core/internal/databinding/internal/beans/ListenerSupport.java
* 
	 * @param methodName
	 *            either addPropertyChangeListener or
	 *            removePropertyChangeListener
	 * @param message
	 *            string that will be prefixed to the target in an error message
	 * @param target
	 *            object to invoke the method on
	 * @return <code>true</code> if the method was invoked successfully
	 */
	private boolean processListener(String methodName, String message,
			Object target) {
		Method method = null;
		Object[] parameters = null;
		try {
			try {
				method = target.getClass().getMethod(
						methodName,
						new Class[] { String.class,
								PropertyChangeListener.class });
				parameters = new Object[] { propertyName, listener };
			} catch (NoSuchMethodException e) {
				method = target.getClass().getMethod(methodName,
						new Class[] { PropertyChangeListener.class });
				parameters = new Object[] { listener };
			}
		} catch (SecurityException e) {
			
		} catch (NoSuchMethodException e) {
			log(IStatus.WARNING, message + target, e);