Codota Logo
EvaluationException.<init>
Code IndexAdd Codota to your IDE (free)

How to use
javax.faces.el.EvaluationException
constructor

Best Java code snippets using javax.faces.el.EvaluationException.<init> (Showing top 20 results out of 315)

  • Common ways to obtain EvaluationException
private void myMethod () {
EvaluationException e =
  • Codota IconThrowable cause;new EvaluationException(cause)
  • Codota IconELException e;new EvaluationException(e.getMessage(), e.getCause())
  • Codota IconELException eLException;new EvaluationException(eLException.getCause())
  • Smart code suggestions by Codota
}
origin: org.apache.myfaces/com.springsource.org.apache.myfaces

public Object resolveVariable(FacesContext facesContext, String name) throws EvaluationException {
  
  try {
    return elResolver.getValue(facesContext.getELContext(), null, name);
  } catch (PropertyNotFoundException e) {
    throw new EvaluationException(e);
  } catch (ELException e) {
    throw new EvaluationException(e);
  }
}

origin: org.glassfish/jakarta.faces

public boolean isReadOnly(FacesContext context) throws EvaluationException, PropertyNotFoundException {
  if (context == null) {
    throw new NullPointerException("FacesContext -> null");
  }
  boolean result = false;
  try {
    result = valueExpression.isReadOnly(context.getELContext());
  } catch (ELException elex) {
    throw new EvaluationException(elex);
  }
  return result;
}
origin: org.glassfish/javax.faces

public boolean isReadOnly(FacesContext context) throws EvaluationException, PropertyNotFoundException {
  if (context == null) {
    throw new NullPointerException("FacesContext -> null");
  }
  boolean result = false;
  try {
    result = valueExpression.isReadOnly(context.getELContext());
  } catch (ELException elex) {
    throw new EvaluationException(elex);
  }
  return result;
}
origin: org.apache.myfaces/com.springsource.org.apache.myfaces

public void setValue(Object base, int index, Object value) 
  throws EvaluationException, PropertyNotFoundException {
  
  try {
    elResolver.setValue(elContext(), base, new Integer(index), value);
  } catch (javax.el.PropertyNotFoundException e) {
    throw new javax.faces.el.PropertyNotFoundException(e);
  } catch (ELException e) {
    throw new EvaluationException(e);
  }
  
}
origin: com.sun.faces/jsf-impl

public boolean isReadOnly(Object base, Object property) {
  if (delegate != null) {
    return delegate.isReadOnly(base, property);
  }
  try {
    FacesContext context = FacesContext.getCurrentInstance();
    return context.getApplication().getELResolver().isReadOnly(context.getELContext(), base,property);
  } catch (ELException elex) {
    throw new EvaluationException(elex);
  }
}
origin: org.richfaces.ui/richfaces-components-ui

@Override
public boolean isReadOnly(FacesContext context) throws EvaluationException {
  try {
    return expression.isReadOnly(context.getELContext());
  } catch (javax.el.PropertyNotFoundException e) {
    throw new PropertyNotFoundException(e);
  } catch (ELException e) {
    throw new EvaluationException(e);
  }
}
origin: org.richfaces.ui.common/richfaces-ui-common-ui

@Override
public Class<?> getType(FacesContext context) throws EvaluationException {
  try {
    return expression.getType(context.getELContext());
  } catch (javax.el.PropertyNotFoundException e) {
    throw new PropertyNotFoundException(e);
  } catch (ELException e) {
    throw new EvaluationException(e);
  }
}
origin: org.apache.myfaces/com.springsource.org.apache.myfaces

public boolean isReadOnly(Object base, Object property) 
  throws EvaluationException, PropertyNotFoundException {
  
  try {
    return elResolver.isReadOnly(elContext(), base, property);
  } catch (javax.el.PropertyNotFoundException e) {
    throw new javax.faces.el.PropertyNotFoundException(e);
  } catch (ELException e) {
    throw new EvaluationException(e);
  }
  
}
origin: org.apache.myfaces.tobago/tobago-jsf-compat

public Object invoke(FacesContext facesContext, Object[] params)
  throws EvaluationException {
 try {
  return methodExpression.invoke(facesContext.getELContext(), params);
 } catch (javax.el.MethodNotFoundException e) {
  throw new javax.faces.el.MethodNotFoundException(e);
 } catch (ELException e) {
  throw new EvaluationException(e);
 }
}
origin: org.apache.myfaces/com.springsource.org.apache.myfaces

public Object invoke(FacesContext facesContext, Object[] params) 
  throws EvaluationException, MethodNotFoundException {
  
  try {
    return methodExpression.invoke(facesContext.getELContext(), params);
  } catch (javax.el.MethodNotFoundException e) {
    throw new javax.faces.el.MethodNotFoundException(e);
  } catch (ELException e) {
    throw new EvaluationException(e.getCause());
  }
}
origin: com.sun.faces/jsf-impl

public Object getValue(FacesContext context) throws EvaluationException,
    PropertyNotFoundException {
  ELContext ctx = context.getELContext();
  try {
    return this.delegate.getValue(ctx);
  } catch (javax.el.PropertyNotFoundException e) {
    throw new PropertyNotFoundException(e.getMessage(), e.getCause());
  } catch (ELException e) {
    throw new EvaluationException(e.getMessage(), e.getCause());
  }
}
origin: com.sun.facelets/jsf-facelets

public Object getValue(FacesContext context) throws EvaluationException,
    PropertyNotFoundException {
  ELContext ctx = ELAdaptor.getELContext(context);
  try {
    return this.delegate.getValue(ctx);
  } catch (javax.el.PropertyNotFoundException e) {
    throw new PropertyNotFoundException(e.getMessage(), e.getCause());
  } catch (ELException e) {
    throw new EvaluationException(e.getMessage(), e.getCause());
  }
}
origin: com.sun.faces/jsf-impl

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());
  }
}
origin: com.sun.faces/jsf-impl

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());
  }
}
origin: com.sun.facelets/jsf-facelets

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());
  }
}
origin: com.sun.faces/jsf-impl

public boolean isReadOnly(FacesContext context) throws EvaluationException,
    PropertyNotFoundException {
  ELContext ctx = context.getELContext();
  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());
  }
}
origin: com.sun.facelets/jsf-facelets

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());
  }
}
origin: org.glassfish/javax.faces

@Override
public boolean isReadOnly(FacesContext context) throws EvaluationException,
    PropertyNotFoundException {
  ELContext ctx = context.getELContext();
  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());
  }
}
origin: com.sun.facelets/jsf-facelets

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());
  }
}
origin: org.primefaces/primefaces

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());
  }
}
javax.faces.elEvaluationException<init>

Javadoc

Construct a new exception with no detail message or root cause.

Popular methods of EvaluationException

  • getCause
  • getMessage
  • toString

Popular in Java

  • Running tasks concurrently on multiple threads
  • compareTo (BigDecimal)
  • scheduleAtFixedRate (ScheduledExecutorService)
    Creates and executes a periodic action that becomes enabled first after the given initial delay, and
  • getSupportFragmentManager (FragmentActivity)
    Return the FragmentManager for interacting with fragments associated with this activity.
  • GridBagLayout (java.awt)
    The GridBagLayout class is a flexible layout manager that aligns components vertically and horizonta
  • Socket (java.net)
    Provides a client-side TCP socket.
  • Connection (java.sql)
    A connection represents a link from a Java application to a database. All SQL statements and results
  • NumberFormat (java.text)
    The abstract base class for all number formats. This class provides the interface for formatting and
  • Calendar (java.util)
    Calendar is an abstract base class for converting between a Date object and a set of integer fields
  • HttpServletRequest (javax.servlet.http)
    Extends the javax.servlet.ServletRequest interface to provide request information for HTTP servlets.
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now