void throwException(Throwable e) {
for (StackTraceElement stackTraceElement : e.getStackTrace()) {
if (stackTraceElement.getClassName().equals(compiledTemplateName) || stackTraceElement.getClassName().startsWith(compiledTemplateName + "$_run_closure")) {
if (doBodyLines.contains(stackTraceElement.getLineNumber())) {
throw new DoBodyException(e);
} else if (e instanceof TagInternalException) {
throw (TagInternalException) cleanStackTrace(e);
} else if (e instanceof NoRouteFoundException) {
NoRouteFoundException ex = (NoRouteFoundException) cleanStackTrace(e);
if (ex.getFile() != null) {