234235236237238239240241242243244
/* * in case something blows up... * pull it off for completeness */ ica.popCurrentTemplateName(); ica.setCurrentResource( null ); } }
373374375376377378379380381382383
finally { /* * lets make sure that we always clean up the context */ ica.popCurrentTemplateName(); ica.setCurrentResource( null ); if (provideScope) { Object obj = ica.get(scopeName);
13931394139513961397139813991400140114021403
throw new VelocityException("IO Error in writer: " + e.getMessage(), e); } } finally { ica.popCurrentTemplateName(); if (provideEvaluateScope) { Object obj = ica.get(evaluateScopeName); if (obj instanceof Scope) {
195196197198199200201202203
nodeTree.init(ica, velocityRuntime); nodeTree.render(ica, out); return out.toString(); } finally { ica.popCurrentTemplateName(); } } }
12761277127812791280128112821283128412851286
*/ nodeTree.render(ica, writer); } finally { ica.popCurrentTemplateName(); } return true; }
208209210211212213214215216217218
330331332333334335336337338339340
finally { /* * lets make sure that we always clean up the context */ ica.popCurrentTemplateName(); ica.setCurrentResource( null ); } } else {
209210211212213214215216217218219
throw new ParseErrorException( pex.getMessage(), info ); } } finally { ica.popCurrentTemplateName(); } return true; }