private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException { in.defaultReadObject(); try { node = builder.build(expr).getRoot(); } catch (ELException e) { throw new IOException(e.getMessage()); } } }
@Override public void setValue(FacesContext context, Object value) throws EvaluationException, PropertyNotFoundException { ELContext ctx = context.getELContext(); try { this.delegate.setValue(ctx, value); } catch (PropertyNotWritableException | javax.el.PropertyNotFoundException e) { throw new PropertyNotFoundException(e.getMessage(), e.getCause()); } catch (ELException e) { throw new EvaluationException(e.getMessage(), e.getCause()); } }
@Override public Class<?> getType(ELContext context) { try { return wrapped.getType(context); } catch (PropertyNotFoundException pnfe) { throw new PropertyNotFoundException(tagAttribute + ": " + pnfe.getMessage(), pnfe); } catch (ELException e) { throw new ELException(tagAttribute + ": " + e.getMessage(), e); } }
public Class getType(ELContext context) { try { return this.orig.getType(context); } catch (PropertyNotFoundException pnfe) { throw new PropertyNotFoundException(this.attr + ": " + pnfe.getMessage(), pnfe); } catch (ELException e) { throw new ELException(this.attr + ": " + e.getMessage(), e); } }
@Override public boolean isReadOnly(ELContext context) { try { return wrapped.isReadOnly(context); } catch (PropertyNotFoundException pnfe) { throw new PropertyNotFoundException(this.tagAttribute + ": " + pnfe.getMessage(), pnfe); } catch (ELException e) { throw new ELException(this.tagAttribute + ": " + e.getMessage(), e); } }
public void write(FacesContext context) throws IOException { ResponseWriter out = context.getResponseWriter(); try { ELContext elContext = context.getELContext(); txt.writeText(out, elContext); //out.writeText(txt.toString(elContext), null); } catch (ELException e) { throw new ELException(this.alias + ": " + e.getMessage(), e.getCause()); } catch (Exception e) { throw new ELException(this.alias + ": " + e.getMessage(), e); } }
public void write(FacesContext context) throws IOException { ResponseWriter out = context.getResponseWriter(); try { ELContext elContext = ELAdaptor.getELContext(context); txt.writeText(out, elContext); //out.writeText(txt.toString(elContext), null); } catch (ELException e) { throw new ELException(this.alias + ": " + e.getMessage(), e.getCause()); } catch (Exception e) { throw new ELException(this.alias + ": " + e.getMessage(), e); } }
public boolean isReadOnly(FacesContext context) throws EvaluationException, PropertyNotFoundException { ELContext ctx = ELAdaptor.getELContext(context); try { return this.delegate.isReadOnly(ctx); } catch (javax.el.PropertyNotFoundException e) { throw new PropertyNotFoundException(e.getMessage(), e.getCause()); } catch (ELException e) { throw new EvaluationException(e.getMessage(), e.getCause()); } }
public Class getType(FacesContext context) throws EvaluationException, PropertyNotFoundException { ELContext ctx = context.getELContext(); try { return this.delegate.getType(ctx); } catch (javax.el.PropertyNotFoundException e) { throw new PropertyNotFoundException(e.getMessage(), e.getCause()); } catch (ELException e) { throw new EvaluationException(e.getMessage(), e.getCause()); } }
public Object invoke(FacesContext context, Object[] params) throws EvaluationException, MethodNotFoundException { try { return m.invoke(context.getELContext(), params); } catch (javax.el.MethodNotFoundException e) { throw new MethodNotFoundException(e.getMessage(), e.getCause()); } catch (ELException e) { throw new EvaluationException(e.getMessage(), e.getCause()); } }
public Class getType(FacesContext context) throws EvaluationException, PropertyNotFoundException { ELContext ctx = ELAdaptor.getELContext(context); try { return this.delegate.getType(ctx); } catch (javax.el.PropertyNotFoundException e) { throw new PropertyNotFoundException(e.getMessage(), e.getCause()); } catch (ELException e) { throw new EvaluationException(e.getMessage(), e.getCause()); } }
@Override public Class getType(FacesContext context) throws EvaluationException, PropertyNotFoundException { ELContext ctx = context.getELContext(); try { return this.delegate.getType(ctx); } catch (javax.el.PropertyNotFoundException e) { throw new PropertyNotFoundException(e.getMessage(), e.getCause()); } catch (ELException e) { throw new EvaluationException(e.getMessage(), e.getCause()); } }
public Class getType(FacesContext context) throws MethodNotFoundException { try { return m.getMethodInfo(context.getELContext()).getReturnType(); } catch (javax.el.MethodNotFoundException e) { throw new MethodNotFoundException(e.getMessage(), e.getCause()); } catch (ELException e) { throw new EvaluationException(e.getMessage(), e.getCause()); } }
public Class getType(FacesContext context) throws MethodNotFoundException { try { return m.getMethodInfo(ELAdaptor.getELContext(context)).getReturnType(); } catch (javax.el.MethodNotFoundException e) { throw new MethodNotFoundException(e.getMessage(), e.getCause()); } catch (ELException e) { throw new EvaluationException(e.getMessage(), e.getCause()); } }
public MethodInfo getMethodInfo(ELContext context) { try { return this.orig.getMethodInfo(context); } catch (PropertyNotFoundException pnfe) { throw new PropertyNotFoundException(this.attr + ": " + pnfe.getMessage(), pnfe.getCause()); } catch (MethodNotFoundException mnfe) { throw new MethodNotFoundException(this.attr + ": " + mnfe.getMessage(), mnfe.getCause()); } catch (ELException e) { throw new ELException(this.attr + ": " + e.getMessage(), e.getCause()); } }
@Override public MethodInfo getMethodInfo(ELContext context) { try { return this.orig.getMethodInfo(context); } catch (PropertyNotFoundException pnfe) { throw new PropertyNotFoundException(this.attr + ": " + pnfe.getMessage(), pnfe.getCause()); } catch (MethodNotFoundException mnfe) { throw new MethodNotFoundException(this.attr + ": " + mnfe.getMessage(), mnfe.getCause()); } catch (ELException e) { throw new ELException(this.attr + ": " + e.getMessage(), e.getCause()); } }
public MethodInfo getMethodInfo(ELContext context) { try { return this.orig.getMethodInfo(context); } catch (PropertyNotFoundException pnfe) { throw new PropertyNotFoundException(this.attr + ": " + pnfe.getMessage(), pnfe.getCause()); } catch (MethodNotFoundException mnfe) { throw new MethodNotFoundException(this.attr + ": " + mnfe.getMessage(), mnfe.getCause()); } catch (ELException e) { throw new ELException(this.attr + ": " + e.getMessage(), e.getCause()); } }
public Object invoke(ELContext context, Object[] params) { try { return this.orig.invoke(context, params); } catch (PropertyNotFoundException pnfe) { throw new PropertyNotFoundException(this.attr + ": " + pnfe.getMessage(), pnfe.getCause()); } catch (MethodNotFoundException mnfe) { throw new MethodNotFoundException(this.attr + ": " + mnfe.getMessage(), mnfe.getCause()); } catch (ELException e) { throw new ELException(this.attr + ": " + e.getMessage(), e.getCause()); } }
public Object invoke(ELContext context, Object[] params) { try { return this.orig.invoke(context, params); } catch (PropertyNotFoundException pnfe) { throw new PropertyNotFoundException(this.attr + ": " + pnfe.getMessage(), pnfe.getCause()); } catch (MethodNotFoundException mnfe) { throw new MethodNotFoundException(this.attr + ": " + mnfe.getMessage(), mnfe.getCause()); } catch (ELException e) { throw new ELException(this.attr + ": " + e.getMessage(), e.getCause()); } }
@Override public Object invoke(ELContext context, Object[] params) { try { return this.orig.invoke(context, params); } catch (PropertyNotFoundException pnfe) { throw new PropertyNotFoundException(this.attr + ": " + pnfe.getMessage(), pnfe.getCause()); } catch (MethodNotFoundException mnfe) { throw new MethodNotFoundException(this.attr + ": " + mnfe.getMessage(), mnfe.getCause()); } catch (ELException e) { throw new ELException(this.attr + ": " + e.getMessage(), e.getCause()); } }