}
// Make sure ArithmeticExceptions are wrapped and sent up the chain
def = createRenderer("java://org.auraframework.impl.renderer.sampleJavaRenderers.TestRendererThrowingException");
try {
def.render(dummyCmp, sw);
fail("Should be able to catch exceptions during rendering.");
} catch (AuraExecutionException e) {
// The thrown Exception should be AuraExecutionException, but we should still have the ArithemeticException
// with the correct message for the cause
checkExceptionFull(e.getCause(), ArithmeticException.class, "From TestRendererThrowingException");