mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-18 14:58:47 +00:00
No effective change - improve error message
This commit is contained in:
1 parent
3f0f5c7fde
commit
76783d525a
1 file changed
+1
-1
@@ -1325,7 +1325,7 @@ public class BeanDescriptorManager implements BeanDescriptorMap {
|
||||
Integer pos = reflectProps.getPropertyIndex(propName);
|
||||
if (pos == null) {
|
||||
if (isPersistentField(prop)) {
|
||||
throw new IllegalStateException("Property "+propName+" not found in "+reflectProps);
|
||||
throw new IllegalStateException("Property " + propName + " not found in " + reflectProps + " for type " + beanType);
|
||||
}
|
||||
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user