本文整理了Java中javax.el.PropertyNotFoundException.<init>()
方法的一些代码示例,展示了PropertyNotFoundException.<init>()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。PropertyNotFoundException.<init>()
方法的具体详情如下:
包路径:javax.el.PropertyNotFoundException
类名称:PropertyNotFoundException
方法名:<init>
[英]Creates a PropertyNotFoundException
with no detail message.
[中]创建一个没有详细信息的PropertyNotFoundException
。
代码示例来源:origin: javax.el/javax.el-api
context.setPropertyResolved(true);
int index = toInteger (property);
if (index < 0 || index >= Array.getLength(base)) {
throw new PropertyNotFoundException();
代码示例来源:origin: javax.el/javax.el-api
context.setPropertyResolved(true);
List list = (List) base;
int index = toInteger(property);
if (index < 0 || index >= list.size()) {
throw new PropertyNotFoundException();
代码示例来源:origin: javax.el/javax.el-api
context.setPropertyResolved(true);
int index = toInteger (property);
if (index < 0 || index >= Array.getLength(base)) {
throw new PropertyNotFoundException();
代码示例来源:origin: javax.el/javax.el-api
context.setPropertyResolved(true);
List list = (List) base;
int index = toInteger(property);
if (index < 0 || index >= list.size()) {
throw new PropertyNotFoundException();
代码示例来源:origin: javax.el/javax.el-api
String fieldName = (String) property;
try {
context.setPropertyResolved(true);
Field field = klass.getField(fieldName);
int mod = field.getModifiers();
throw new PropertyNotFoundException(
ELUtil.getExceptionMessageString(context,
"staticFieldReadError",
代码示例来源:origin: javax.el/javax.el-api
String fieldName = (String) property;
try {
context.setPropertyResolved(base, property);
Field field = klass.getField(fieldName);
int mod = field.getModifiers();
} catch (IllegalAccessException ex) {
throw new PropertyNotFoundException(
ELUtil.getExceptionMessageString(context,
"staticFieldReadError",
代码示例来源:origin: javax.el/javax.el-api
context.setPropertyResolved(base, property);
if (isReadOnly) {
throw new PropertyNotWritableException();
throw new PropertyNotFoundException();
代码示例来源:origin: javax.el/javax.el-api
Method method = bp.getReadMethod();
if (method == null) {
throw new PropertyNotFoundException(
ELUtil.getExceptionMessageString(context,
"propertyNotReadable",
try {
value = method.invoke(base, new Object[0]);
context.setPropertyResolved(base, property);
} catch (ELException ex) {
throw ex;
代码示例来源:origin: javax.el/javax.el-api
context.setPropertyResolved(base, property);
throw new PropertyNotWritableException();
} catch (IndexOutOfBoundsException ex) {
throw new PropertyNotFoundException();
} catch (ClassCastException ex) {
throw ex;
代码示例来源:origin: javax.el/el-api
context.setPropertyResolved(true);
int index = toInteger (property);
if (index < 0 || index >= Array.getLength(base)) {
throw new PropertyNotFoundException();
代码示例来源:origin: javax.el/el-api
context.setPropertyResolved(true);
int index = toInteger (property);
if (index < 0 || index >= Array.getLength(base)) {
throw new PropertyNotFoundException();
代码示例来源:origin: javax.el/el-api
context.setPropertyResolved(true);
List list = (List) base;
int index = toInteger(property);
if (index < 0 || index >= list.size()) {
throw new PropertyNotFoundException();
代码示例来源:origin: javax.el/el-api
context.setPropertyResolved(true);
List list = (List) base;
int index = toInteger(property);
if (index < 0 || index >= list.size()) {
throw new PropertyNotFoundException();
代码示例来源:origin: javax.el/el-api
context.setPropertyResolved(true);
if (isReadOnly) {
throw new PropertyNotWritableException();
throw new PropertyNotFoundException();
代码示例来源:origin: javax.el/el-api
Method method = bp.getReadMethod();
if (method == null) {
throw new PropertyNotFoundException(
ELUtil.getExceptionMessageString(context,
"propertyNotReadable",
try {
value = method.invoke(base, new Object[0]);
context.setPropertyResolved(true);
} catch (ELException ex) {
throw ex;
代码示例来源:origin: javax.el/el-api
context.setPropertyResolved(true);
List list = (List) base;
int index = toInteger(property);
throw new PropertyNotWritableException();
} catch (IndexOutOfBoundsException ex) {
throw new PropertyNotFoundException();
} catch (ClassCastException ex) {
throw ex;
代码示例来源:origin: org.apache.myfaces.core/myfaces-shaded-impl
@Override
public Class<?> getType(final ELContext context, final Object base, final Object property)
throws NullPointerException, PropertyNotFoundException, ELException
{
if (base != null)
return null;
if (property == null)
throw new PropertyNotFoundException();
context.setPropertyResolved(true);
return Object.class;
}
代码示例来源:origin: org.apache.myfaces/com.springsource.org.apache.myfaces
public Class<?> getType(ELContext context, Object base, Object property)
throws NullPointerException, PropertyNotFoundException, ELException {
if (base != null) return null;
if (property == null) throw new PropertyNotFoundException();
context.setPropertyResolved(true);
return Object.class;
}
代码示例来源:origin: org.apache.myfaces.core.internal/myfaces-shaded-impl
@Override
public Class<?> getType(final ELContext context, final Object base, final Object property)
throws NullPointerException, PropertyNotFoundException, ELException
{
if (base != null)
return null;
if (property == null)
throw new PropertyNotFoundException();
context.setPropertyResolved(true);
return Object.class;
}
代码示例来源:origin: org.apache.myfaces/com.springsource.org.apache.myfaces
public boolean isReadOnly(ELContext context, Object base, Object property)
throws NullPointerException, PropertyNotFoundException, ELException {
if (base != null) return false;
if (property == null) throw new PropertyNotFoundException();
if (!(property instanceof String)) return false;
String strProperty = castAndIntern(property);
if (implicitObjects.containsKey(strProperty)) {
context.setPropertyResolved(true);
return true;
}
return false;
}
内容来源于网络,如有侵权,请联系作者删除!