// refresh will erase dynamic template
// class from this container.
compiler.compile(new String[] { key });
dynamicClasses.put(key, rc);
TemplateClassLoader loader = getClassLoader();
loader.loadClass(key);
} catch (Exception e) {
if (e instanceof JapidTemplateException)
throw (JapidTemplateException) e;
throw new RuntimeException(e);
}