/wro4j-extensions/src/main/java/ro/isdc/wro/extensions/processor/js/RhinoTypeScriptProcessor.java
enginePool.returnObject ( compiler ) ;
final TypeScriptCompiler compiler = enginePool.getObject(); try { writer.write(compiler.compile(content)); } catch (final Exception e) { onException(e, content); } finally { <extra_id_0> reader.close(); writer.close(); } } protected void onException(final Exception e, final String content) { throw WroRuntimeException.wrap(e);