final TemplateModel eval(Environment env) throws TemplateException { try { return constantValue != null ? constantValue : _eval(env); } catch (FlowControlException e) { throw e; } catch (TemplateException e) { throw e; } catch (Exception e) { if (env != null && EvalUtil.shouldWrapUncheckedException(e, env)) { throw new _MiscTemplateException( this, e, env, "Expression has thrown an unchecked exception; see the cause exception."); } else if (e instanceof RuntimeException) { throw (RuntimeException) e; } else { throw new UndeclaredThrowableException(e); } } }
if (EvalUtil.shouldWrapUncheckedException(e, this)) { throw new _MiscTemplateException( e, this, "Directive has thrown an unchecked exception; see the cause exception.");
throw e; } catch (Throwable e) { if (EvalUtil.shouldWrapUncheckedException(e, this)) { throw new _MiscTemplateException( e, this, "Transform has thrown an unchecked exception; see the cause exception.");
final TemplateModel eval(Environment env) throws TemplateException { try { return constantValue != null ? constantValue : _eval(env); } catch (FlowControlException e) { throw e; } catch (TemplateException e) { throw e; } catch (Exception e) { if (env != null && EvalUtil.shouldWrapUncheckedException(e, env)) { throw new _MiscTemplateException( this, e, env, "Expression has thrown an unchecked exception; see the cause exception."); } else if (e instanceof RuntimeException) { throw (RuntimeException) e; } else { throw new UndeclaredThrowableException(e); } } }
final TemplateModel eval(Environment env) throws TemplateException { try { return constantValue != null ? constantValue : _eval(env); } catch (FlowControlException e) { throw e; } catch (TemplateException e) { throw e; } catch (Exception e) { if (env != null && EvalUtil.shouldWrapUncheckedException(e, env)) { throw new _MiscTemplateException( this, e, env, "Expression has thrown an unchecked exception; see the cause exception."); } else if (e instanceof RuntimeException) { throw (RuntimeException) e; } else { throw new UndeclaredThrowableException(e); } } }
if (EvalUtil.shouldWrapUncheckedException(e, this)) { throw new _MiscTemplateException( e, this, "Directive has thrown an unchecked exception; see the cause exception.");
if (EvalUtil.shouldWrapUncheckedException(e, this)) { throw new _MiscTemplateException( e, this, "Directive has thrown an unchecked exception; see the cause exception.");
throw e; } catch (Throwable e) { if (EvalUtil.shouldWrapUncheckedException(e, this)) { throw new _MiscTemplateException( e, this, "Transform has thrown an unchecked exception; see the cause exception.");
throw e; } catch (Throwable e) { if (EvalUtil.shouldWrapUncheckedException(e, this)) { throw new _MiscTemplateException( e, this, "Transform has thrown an unchecked exception; see the cause exception.");