Examples of MethodNotFoundException


Examples of javax.faces.el.MethodNotFoundException

  @Override
  public Class<?> getType(FacesContext context) throws MethodNotFoundException {
    try {
      return expression.getMethodInfo(context.getELContext()).getReturnType();
    } catch (javax.el.MethodNotFoundException e) {
      throw new MethodNotFoundException(e);
    }
  }
View Full Code Here

Examples of javax.faces.el.MethodNotFoundException

  public Object invoke(FacesContext context, Object[] params)
      throws EvaluationException, MethodNotFoundException {
    try {
      return expression.invoke(context.getELContext(), params);
    } catch (javax.el.MethodNotFoundException e) {
      throw new MethodNotFoundException(e);
    } catch (ELException e) {
      throw new EvaluationException(e);
    }
  }
View Full Code Here

Examples of javax.faces.el.MethodNotFoundException

    MethodCallElement._log.error(Messages.getMessage(Messages.METHOD_CALL_ERROR_3a, methodName, context.getComponent().getId()), e);
    throw new FacesException(Messages.getMessage(Messages.METHOD_CALL_ERROR_4a, new Object[]{methodName, context.getComponent().getId(), e.getCause().getMessage()}), e);
  }   
  void handleMethodNotFoundException(TemplateContext context) throws MethodNotFoundException {
    MethodCallElement._log.error(Messages.getMessage(Messages.METHOD_CALL_ERROR_5a, methodName, context.getComponent().getId()));
    throw new MethodNotFoundException(Messages.getMessage(Messages.METHOD_CALL_ERROR_6a, methodName));
  }
View Full Code Here

Examples of javax.faces.el.MethodNotFoundException

    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());
        }
    }
View Full Code Here

Examples of javax.faces.el.MethodNotFoundException

    public Object invoke(FacesContext context, Object[] params)
            throws EvaluationException, MethodNotFoundException {
        try {
            return m.invoke(ELAdaptor.getELContext(context), params);
        } catch (javax.el.MethodNotFoundException e) {
            throw new MethodNotFoundException(e.getMessage(), e.getCause());
        } catch (ELException e) {
            throw new EvaluationException(e.getMessage(), e.getCause());
        }
    }
View Full Code Here

Examples of javax.faces.el.MethodNotFoundException

    } catch (InvocationTargetException e) {
      throw new FacesException(Messages.getMessage(Messages.METHOD_CALL_ERROR_2b, methodName, e.getCause().getMessage()), e);
    } catch (IllegalAccessException e) {
      throw new FacesException(Messages.getMessage(Messages.METHOD_CALL_ERROR_4b, methodName, e.getMessage()), e);
    }
    throw new MethodNotFoundException(Messages.getMessage(Messages.METHOD_CALL_ERROR_6b, methodName, object));
  }
View Full Code Here

Examples of javax.faces.el.MethodNotFoundException

                             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());
            }
        }
View Full Code Here

Examples of javax.faces.el.MethodNotFoundException

    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());
        }
    }
View Full Code Here

Examples of javax.faces.el.MethodNotFoundException

    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());
        }
    }
View Full Code Here

Examples of org.activiti.engine.impl.javax.el.MethodNotFoundException

  protected Method findMethod(String name, Class<?> clazz, Class<?> returnType, Class<?>[] paramTypes) {
    Method method = null;
    try {
      method = clazz.getMethod(name, paramTypes);
    } catch (NoSuchMethodException e) {
      throw new MethodNotFoundException(LocalMessages.get("error.property.method.notfound", name, clazz));
    }
    if (returnType != null && !returnType.isAssignableFrom(method.getReturnType())) {
      throw new MethodNotFoundException(LocalMessages.get("error.property.method.notfound", name, clazz));
    }
    return method;
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.