Example #1
0
 void render() {
   try {
     render(renderer.head, renderer.body);
   } catch (Exception e) {
     if (e instanceof RuntimeException) {
       throw (RuntimeException) e;
     } else {
       throw new RuntimeException("Exception thrown during render", e);
     }
   }
 }
Example #2
0
 protected void yield(View view, StringBuilder __body__) {
   if (view != null) {
     try {
       view.setRenderer(renderer);
       view.render(renderer.head, __body__);
     } catch (Exception e) {
       if (e instanceof RuntimeException) {
         throw (RuntimeException) e;
       } else {
         throw new RuntimeException("Exception thrown during render", e);
       }
     }
   }
 }
Example #3
0
 protected void yield(View view) {
   if (view != null) {
     view.setRenderer(renderer);
     view.render();
   }
 }