long interrupted = System.currentTimeMillis();
long elapsedMillis = interrupted - startRendering;
// we're a test channel, let's let the developer know we were interrupted
throw new GeneralRenderingException("CTimeout interrupted after " + elapsedMillis + " milliseconds.");
}
}
long returningFromRendering = System.currentTimeMillis();
log.trace("CTimeout returning from rendering after " + (returningFromRendering - startRendering) + " milliseconds.");