MCPcopy Create free account
hub / github.com/androrm/androrm / raiseFieldExecption

Method raiseFieldExecption

src/src/com/orm/androrm/Model.java:209–216  ·  view source on GitHub ↗
(T instance, String fieldName)

Source from the content-addressed store, hash-verified

207 }
208
209 private static final <T extends Model> void raiseFieldExecption(T instance, String fieldName) {
210 throw new NoSuchFieldException("No field named "
211 + fieldName
212 + " was found in class "
213 + instance.getClass().getSimpleName()
214 +"! Choices are: "
215 + getEligableFields(instance.getClass(), instance).toString());
216 }
217
218 protected static final void runMigrations(Context context, List<Class<? extends Model>> models) {
219 DatabaseAdapter adapter = DatabaseAdapter.getInstance(context);

Callers 1

getFieldMethod · 0.95

Calls 2

getEligableFieldsMethod · 0.95
toStringMethod · 0.65

Tested by

no test coverage detected