public int afterBody() throws TemplateModelException { try { if (isIterationTag) { int dab = ((IterationTag) tag).doAfterBody(); switch(dab) { case Tag.SKIP_BODY: endEvaluation(); return END_EVALUATION; case IterationTag.EVAL_BODY_AGAIN: return REPEAT_EVALUATION; default: throw new TemplateModelException("Unexpected return value " + dab + "from " + tag.getClass().getName() + ".doAfterBody()"); } } endEvaluation(); return END_EVALUATION; } catch (Exception e) { throw toTemplateModelExceptionOrRethrow(e); } }
return w; } catch (Exception e) { throw toTemplateModelExceptionOrRethrow(e);
public int afterBody() throws TemplateModelException { try { if (isIterationTag) { int dab = ((IterationTag) tag).doAfterBody(); switch(dab) { case Tag.SKIP_BODY: endEvaluation(); return END_EVALUATION; case IterationTag.EVAL_BODY_AGAIN: return REPEAT_EVALUATION; default: throw new TemplateModelException("Unexpected return value " + dab + "from " + tag.getClass().getName() + ".doAfterBody()"); } } endEvaluation(); return END_EVALUATION; } catch (Exception e) { throw toTemplateModelExceptionOrRethrow(e); } }
public int afterBody() throws TemplateModelException { try { if (isIterationTag) { int dab = ((IterationTag) tag).doAfterBody(); switch(dab) { case Tag.SKIP_BODY: endEvaluation(); return END_EVALUATION; case IterationTag.EVAL_BODY_AGAIN: return REPEAT_EVALUATION; default: throw new TemplateModelException("Unexpected return value " + dab + "from " + tag.getClass().getName() + ".doAfterBody()"); } } endEvaluation(); return END_EVALUATION; } catch (Exception e) { throw toTemplateModelExceptionOrRethrow(e); } }
throw toTemplateModelExceptionOrRethrow(e);
return w; } catch (Exception e) { throw toTemplateModelExceptionOrRethrow(e);
return w; } catch (Exception e) { throw toTemplateModelExceptionOrRethrow(e);