System.out.println(eventReceived.getThrowable());
	public void testFatalException() {			FrameworkEventListenerWithResult fwkListener = new FrameworkEventListenerWithResult();		OSGiTests.getContext().addFrameworkListener(fwkListener);		BundleListener fatalException = new BundleListener() {			public void bundleChanged(BundleEvent event) {				throw new OutOfMemoryError("Generated exception");			}		};		OSGiTests.getContext().addBundleListener(fatalException);					try {			System.setProperty("eclipse.exitOnError","false"); //Here we set the value to false, because otherwise we would simply exit			BundleTestingHelper.installBundle(OSGiTests.getContext(), OSGiTests.TEST_FILES_ROOT + "internal/plugins/installTests/bundle10");			FrameworkEvent eventReceived = fwkListener.getResult(10000);			Assert.assertEquals(FrameworkEvent.ERROR, eventReceived.getType());			Assert.assertEquals(true, eventReceived.getThrowable() instanceof VirtualMachineError);			System.setProperty("eclipse.exitOnError","true");		} catch (MalformedURLException e) {			//Does not happen		} catch (BundleException e) {			e.printStackTrace();		} catch (IOException e) {			e.printStackTrace();		}		OSGiTests.getContext().removeFrameworkListener(fwkListener);		OSGiTests.getContext().removeBundleListener(fatalException);	}