mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
Improve exception throw in BeanReflectProperties when _ebean_props not found
This commit is contained in:
@@ -36,7 +36,7 @@ public class BeanReflectProperties {
|
||||
return (String[]) field.get(null);
|
||||
|
||||
} catch (Exception e) {
|
||||
throw new IllegalStateException(e);
|
||||
throw new IllegalStateException("Error getting _ebean_props field on type "+clazz, e);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user