@Test
public void testRethrowFatalError() {

	// fatal error is rethrown
	try {
		ExceptionUtils.rethrowIfFatalError(new InternalError());
		fail();
	} catch (InternalError ignored) {}
	// non-fatal error is not rethrown
	ExceptionUtils.rethrowIfFatalError(new NoClassDefFoundError());
}