Skip to content

Commit d91fb10

Browse files
修改异常说明
1 parent 4a7e95b commit d91fb10

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/com/github/developframework/expression/ExpressionUtils.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,9 @@ private static final Object getValueFromObjectOrMap(Object instance, String prop
8888
field.setAccessible(true);
8989
return field.get(instance);
9090
} catch (NoSuchFieldException e) {
91-
throw new ExpressionException("No such field \"%s\" in class \"\".", propertyName, clazz.getName());
91+
throw new ExpressionException("No such field \"%s\" in class \"%s\".", propertyName, clazz.getName());
9292
} catch (IllegalAccessException e) {
93-
throw new ExpressionException("Illegal access field \"%s\" in class \"\".", propertyName, clazz.getName());
93+
throw new ExpressionException("Illegal access field \"%s\" in class \"%s\".", propertyName, clazz.getName());
9494
}
9595
}
9696

0 commit comments

Comments
 (0)