Improve exception throw in BeanReflectProperties when _ebean_props not found

This commit is contained in:
Rob Bygrave
2014-07-02 21:23:28 +12:00
parent bf0944bb2a
commit c49dd54500
@@ -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);
}
}
}