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

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

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

PropertyNotFoundException.getMessage介绍

暂无

代码示例

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

public Object getValue(ELContext context) {
  try {
    return this.orig.getValue(context);
  } catch (PropertyNotFoundException pnfe) {
    throw new PropertyNotFoundException(this.attr + ": "
        + pnfe.getMessage(), pnfe);
  } catch (ELException e) {
    throw new ELException(this.attr + ": " + e.getMessage(), e);
  }
}

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

@Override
public Object getValue(ELContext context) {
  try {
    return wrapped.getValue(context);
  } catch (PropertyNotFoundException pnfe) {
    throw new PropertyNotFoundException(tagAttribute + ": " + pnfe.getMessage(), pnfe);
  } catch (ELException e) {
    throw new ELException(this.tagAttribute + ": " + e.getMessage(), e);
  }
}

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

@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);
  }
}

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

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);
  }
}

代码示例来源: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: org.glassfish/javax.faces

@Override
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 boolean isReadOnly(ELContext context) {
  try {
    return this.orig.isReadOnly(context);
  } catch (PropertyNotFoundException pnfe) {
    throw new PropertyNotFoundException(this.attr + ": "
        + pnfe.getMessage(), pnfe.getCause());
  } catch (ELException e) {
    throw new ELException(this.attr + ": " + e.getMessage(), e.getCause());
  }
}

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

@Override
public void setValue(ELContext context, Object value) {
  try {
    wrapped.setValue(context, value);
  } catch (PropertyNotFoundException pnfe) {
    throw new PropertyNotFoundException(tagAttribute + ": " + pnfe.getMessage(), pnfe);
  } catch (PropertyNotWritableException pnwe) {
    throw new PropertyNotWritableException(tagAttribute + ": " + pnwe.getMessage(), pnwe);
  } catch (ELException e) {
    throw new ELException(tagAttribute + ": " + e.getMessage(), e);
  }
}

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

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());
  }
}

代码示例来源: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.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: org.glassfish/jakarta.faces

@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());
  }
}

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

@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());
  }
}

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

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());
  }
}

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

@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());
  }
}

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

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());
  }
}

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

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());
  }
}

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

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());
  }
}

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

@Override
public MethodInfo getMethodInfo(final ELContext context) {
 try {
  return this.orig.getMethodInfo(context);
 } catch (final PropertyNotFoundException pnfe) {
  throw new PropertyNotFoundException(this.attr + ": " + pnfe.getMessage(), pnfe.getCause());
 } catch (final MethodNotFoundException mnfe) {
  throw new MethodNotFoundException(this.attr + ": " + mnfe.getMessage(), mnfe.getCause());
 } catch (final ELException e) {
  throw new ELException(this.attr + ": " + e.getMessage(), e.getCause());
 }
}

相关文章