javax.faces.el.PropertyNotFoundException.getMessage()方法的使用及代码示例

x33g5p2x  于2022-01-26 转载在 其他  
字(10.4k)|赞(0)|评价(0)|浏览(123)

本文整理了Java中javax.faces.el.PropertyNotFoundException.getMessage()方法的一些代码示例,展示了PropertyNotFoundException.getMessage()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。PropertyNotFoundException.getMessage()方法的具体详情如下:
包路径:javax.faces.el.PropertyNotFoundException
类名称:PropertyNotFoundException
方法名:getMessage

PropertyNotFoundException.getMessage介绍

暂无

代码示例

代码示例来源:origin: org.apache.myfaces.core/myfaces-api

private <T> T invoke(Invoker<T> invoker)
{
  try
  {
    return invoker.invoke();
  }
  catch (javax.faces.el.PropertyNotFoundException e)
  {
    throw new PropertyNotFoundException(e.getMessage(), e);
  }
  catch (EvaluationException e)
  {
    throw new ELException(e.getMessage(), e);
  }
}

代码示例来源:origin: org.apache.myfaces.core/myfaces-impl

private <T> T invoke(Invoker<T> invoker)
{
  try
  {
    return invoker.invoke();
  }
  catch (javax.faces.el.PropertyNotFoundException e)
  {
    throw new PropertyNotFoundException(e.getMessage(), e);
  }
  catch (EvaluationException e)
  {
    throw new ELException(e.getMessage(), e);
  }
}

代码示例来源:origin: org.apache.myfaces/com.springsource.org.apache.myfaces

private <T> T invoke(Invoker<T> invoker)
{
  try
  {
    return invoker.invoke();
  }
  catch (javax.faces.el.PropertyNotFoundException e)
  {
    throw new PropertyNotFoundException(e.getMessage(), e);
  }
  catch (EvaluationException e)
  {
    throw new ELException(e.getMessage(), e);
  }
}

代码示例来源:origin: org.apache.myfaces.core.internal/myfaces-shaded-impl

private <T> T invoke(Invoker<T> invoker)
{
  try
  {
    return invoker.invoke();
  }
  catch (javax.faces.el.PropertyNotFoundException e)
  {
    throw new PropertyNotFoundException(e.getMessage(), e);
  }
  catch (EvaluationException e)
  {
    throw new ELException(e.getMessage(), e);
  }
}

代码示例来源:origin: org.apache.myfaces.core/myfaces-shaded-impl

private <T> T invoke(Invoker<T> invoker)
{
  try
  {
    return invoker.invoke();
  }
  catch (javax.faces.el.PropertyNotFoundException e)
  {
    throw new PropertyNotFoundException(e.getMessage(), e);
  }
  catch (EvaluationException e)
  {
    throw new ELException(e.getMessage(), e);
  }
}

代码示例来源:origin: org.apache.myfaces/com.springsource.org.apache.myfaces.javax.faces

private <T> T invoke(Invoker<T> invoker)
{
  try
  {
    return invoker.invoke();
  }
  catch (javax.faces.el.PropertyNotFoundException e)
  {
    throw new PropertyNotFoundException(e.getMessage(), e);
  }
  catch (EvaluationException e)
  {
    throw new ELException(e.getMessage(), e);
  }
}

代码示例来源:origin: com.sun.faces/jsf-impl

public Class getType(ELContext context, Object base, Object property) {
  if (property == null) {
    return null;
  }
  try {
    context.setPropertyResolved(true);
    if (base == null) {
      Object obj = this.getVariableResolver().resolveVariable(
          faces, property.toString());
      return (obj != null) ? obj.getClass() : null;
    } else {
      if (base instanceof List || base.getClass().isArray()) {
        return this.getPropertyResolver().getType(base,
            Integer.parseInt(property.toString()));
      } else {
        return this.getPropertyResolver().getType(base,
            property);
      }
    }
  } catch (PropertyNotFoundException e) {
    throw new javax.el.PropertyNotFoundException(e.getMessage(), e
        .getCause());
  } catch (EvaluationException e) {
    throw new ELException(e.getMessage(), e.getCause());
  }
}

代码示例来源:origin: com.sun.faces/jsf-impl

public boolean isReadOnly(ELContext context, Object base,
    Object property) {
  if (property == null) {
    return true;
  }
  try {
    context.setPropertyResolved(true);
    if (base == null) {
      return false; // what can I do?
    } else {
      if (base instanceof List || base.getClass().isArray()) {
        return this.getPropertyResolver().isReadOnly(base,
            Integer.parseInt(property.toString()));
      } else {
        return this.getPropertyResolver().isReadOnly(base,
            property);
      }
    }
  } catch (PropertyNotFoundException e) {
    throw new javax.el.PropertyNotFoundException(e.getMessage(), e
        .getCause());
  } catch (EvaluationException e) {
    throw new ELException(e.getMessage(), e.getCause());
  }
}

代码示例来源:origin: com.sun.facelets/jsf-facelets

public boolean isReadOnly(ELContext context, Object base,
    Object property) {
  if (property == null) {
    return true;
  }
  try {
    context.setPropertyResolved(true);
    if (base == null) {
      return false; // what can I do?
    } else {
      if (base instanceof List || base.getClass().isArray()) {
        return this.getPropertyResolver().isReadOnly(base,
            Integer.parseInt(property.toString()));
      } else {
        return this.getPropertyResolver().isReadOnly(base,
            property);
      }
    }
  } catch (PropertyNotFoundException e) {
    throw new javax.el.PropertyNotFoundException(e.getMessage(), e
        .getCause());
  } catch (EvaluationException e) {
    throw new ELException(e.getMessage(), e.getCause());
  }
}

代码示例来源:origin: com.sun.facelets/jsf-facelets

public Class getType(ELContext context, Object base, Object property) {
  if (property == null) {
    return null;
  }
  try {
    context.setPropertyResolved(true);
    if (base == null) {
      Object obj = this.getVariableResolver().resolveVariable(
          faces, property.toString());
      return (obj != null) ? obj.getClass() : null;
    } else {
      if (base instanceof List || base.getClass().isArray()) {
        return this.getPropertyResolver().getType(base,
            Integer.parseInt(property.toString()));
      } else {
        return this.getPropertyResolver().getType(base,
            property);
      }
    }
  } catch (PropertyNotFoundException e) {
    throw new javax.el.PropertyNotFoundException(e.getMessage(), e
        .getCause());
  } catch (EvaluationException e) {
    throw new ELException(e.getMessage(), e.getCause());
  }
}

代码示例来源:origin: org.glassfish/javax.faces

@Override
public Class getType(ELContext context, Object base, Object property) {
  if (property == null) {
    return null;
  }
  try {
    context.setPropertyResolved(true);
    if (base == null) {
      Object obj = this.getVariableResolver().resolveVariable(
          faces, property.toString());
      return (obj != null) ? obj.getClass() : null;
    } else {
      if (base instanceof List || base.getClass().isArray()) {
        return this.getPropertyResolver().getType(base,
            Integer.parseInt(property.toString()));
      } else {
        return this.getPropertyResolver().getType(base,
            property);
      }
    }
  } catch (PropertyNotFoundException e) {
    throw new javax.el.PropertyNotFoundException(e.getMessage(), e
        .getCause());
  } catch (EvaluationException e) {
    throw new ELException(e.getMessage(), e.getCause());
  }
}

代码示例来源:origin: org.glassfish/jakarta.faces

@Override
public Class getType(ELContext context, Object base, Object property) {
  if (property == null) {
    return null;
  }
  try {
    context.setPropertyResolved(true);
    if (base == null) {
      Object obj = this.getVariableResolver().resolveVariable(
          faces, property.toString());
      return (obj != null) ? obj.getClass() : null;
    } else {
      if (base instanceof List || base.getClass().isArray()) {
        return this.getPropertyResolver().getType(base,
            Integer.parseInt(property.toString()));
      } else {
        return this.getPropertyResolver().getType(base,
            property);
      }
    }
  } catch (PropertyNotFoundException e) {
    throw new javax.el.PropertyNotFoundException(e.getMessage(), e
        .getCause());
  } catch (EvaluationException e) {
    throw new ELException(e.getMessage(), e.getCause());
  }
}

代码示例来源:origin: com.sun.faces/jsf-impl

public Object getValue(ELContext context, Object base, Object property) {
  if (property == null) {
    return null;
  }
  try {
    context.setPropertyResolved(true);
    if (base == null) {
      return this.getVariableResolver().resolveVariable(faces,
          property.toString());
    } else {
      if (base instanceof List || base.getClass().isArray()) {
        return this.getPropertyResolver().getValue(base,
            Integer.parseInt(property.toString()));
      } else {
        return this.getPropertyResolver().getValue(base,
            property);
      }
    }
  } catch (PropertyNotFoundException e) {
    throw new javax.el.PropertyNotFoundException(e.getMessage(), e
        .getCause());
  } catch (EvaluationException e) {
    throw new ELException(e.getMessage(), e.getCause());
  }
}

代码示例来源:origin: org.glassfish/jakarta.faces

@Override
public boolean isReadOnly(ELContext context, Object base,
    Object property) {
  if (property == null) {
    return true;
  }
  try {
    context.setPropertyResolved(true);
    if (base == null) {
      return false; // what can I do?
    } else {
      if (base instanceof List || base.getClass().isArray()) {
        return this.getPropertyResolver().isReadOnly(base,
            Integer.parseInt(property.toString()));
      } else {
        return this.getPropertyResolver().isReadOnly(base,
            property);
      }
    }
  } catch (PropertyNotFoundException e) {
    throw new javax.el.PropertyNotFoundException(e.getMessage(), e
        .getCause());
  } catch (EvaluationException e) {
    throw new ELException(e.getMessage(), e.getCause());
  }
}

代码示例来源:origin: org.glassfish/javax.faces

@Override
public boolean isReadOnly(ELContext context, Object base,
    Object property) {
  if (property == null) {
    return true;
  }
  try {
    context.setPropertyResolved(true);
    if (base == null) {
      return false; // what can I do?
    } else {
      if (base instanceof List || base.getClass().isArray()) {
        return this.getPropertyResolver().isReadOnly(base,
            Integer.parseInt(property.toString()));
      } else {
        return this.getPropertyResolver().isReadOnly(base,
            property);
      }
    }
  } catch (PropertyNotFoundException e) {
    throw new javax.el.PropertyNotFoundException(e.getMessage(), e
        .getCause());
  } catch (EvaluationException e) {
    throw new ELException(e.getMessage(), e.getCause());
  }
}

代码示例来源:origin: com.sun.facelets/jsf-facelets

public Object getValue(ELContext context, Object base, Object property) {
  if (property == null) {
    return null;
  }
  try {
    context.setPropertyResolved(true);
    if (base == null) {
      return this.getVariableResolver().resolveVariable(faces,
          property.toString());
    } else {
      if (base instanceof List || base.getClass().isArray()) {
        return this.getPropertyResolver().getValue(base,
            Integer.parseInt(property.toString()));
      } else {
        return this.getPropertyResolver().getValue(base,
            property);
      }
    }
  } catch (PropertyNotFoundException e) {
    throw new javax.el.PropertyNotFoundException(e.getMessage(), e
        .getCause());
  } catch (EvaluationException e) {
    throw new ELException(e.getMessage(), e.getCause());
  }
}

代码示例来源:origin: org.glassfish/jakarta.faces

@Override
public Object getValue(ELContext context, Object base, Object property) {
  if (property == null) {
    return null;
  }
  try {
    context.setPropertyResolved(true);
    if (base == null) {
      return this.getVariableResolver().resolveVariable(faces,
          property.toString());
    } else {
      if (base instanceof List || base.getClass().isArray()) {
        return this.getPropertyResolver().getValue(base,
            Integer.parseInt(property.toString()));
      } else {
        return this.getPropertyResolver().getValue(base,
            property);
      }
    }
  } catch (PropertyNotFoundException e) {
    throw new javax.el.PropertyNotFoundException(e.getMessage(), e
        .getCause());
  } catch (EvaluationException e) {
    throw new ELException(e.getMessage(), e.getCause());
  }
}

代码示例来源:origin: org.glassfish/javax.faces

@Override
public Object getValue(ELContext context, Object base, Object property) {
  if (property == null) {
    return null;
  }
  try {
    context.setPropertyResolved(true);
    if (base == null) {
      return this.getVariableResolver().resolveVariable(faces,
          property.toString());
    } else {
      if (base instanceof List || base.getClass().isArray()) {
        return this.getPropertyResolver().getValue(base,
            Integer.parseInt(property.toString()));
      } else {
        return this.getPropertyResolver().getValue(base,
            property);
      }
    }
  } catch (PropertyNotFoundException e) {
    throw new javax.el.PropertyNotFoundException(e.getMessage(), e
        .getCause());
  } catch (EvaluationException e) {
    throw new ELException(e.getMessage(), e.getCause());
  }
}

代码示例来源:origin: com.sun.faces/jsf-impl

throw new javax.el.PropertyNotFoundException(e.getMessage(), e
      .getCause());
} catch (EvaluationException e) {

代码示例来源:origin: com.sun.facelets/jsf-facelets

throw new javax.el.PropertyNotFoundException(e.getMessage(), e
      .getCause());
} catch (EvaluationException e) {

相关文章