Bug 236795 [JFace] SWT Exception creates endless cycle
bundles/org.eclipse.jface/src/org/eclipse/jface/operation/ModalContext.java
.getMessage());
						} else {
							throw new InvocationTargetException(throwable);
						}
					}
				}
			}
		} finally {
			modalLevel--;
		}
	}
	/**
	 * Invoke the ThreadListener if there are any errors or RuntimeExceptions
	 * return them.
	 * 
	 * @param listener
	 * @param switchingThread
	 *            the {@link Thread} being switched to
	 */
	static Throwable invokeThreadListener(IThreadListener listener,
			Thread switchingThread) {
		try {
			listener.threadChange(switchingThread);
		} catch (ThreadDeath e) {
			
			
			throw e;
		} catch (Error e) {
			return e;
		}catch (RuntimeException e) {