MCPcopy Create free account
hub / github.com/jOOQ/jOOQ / indexFail

Method indexFail

jOOQ/src/main/java/org/jooq/impl/Tools.java:2322–2327  ·  view source on GitHub ↗
(Fields row, Field<?> field)

Source from the content-addressed store, hash-verified

2320 }
2321
2322 static final IllegalArgumentException indexFail(Fields row, Field<?> field) {
2323 if (lookupNested(row, field))
2324 return new IllegalArgumentException("Field " + field + " is not contained at the top level of row type containing nested row types. Unnest the nested row type first and access the field from there: " + row);
2325 else
2326 return new IllegalArgumentException("Field " + field + " is not contained in row type " + row);
2327 }
2328
2329 private static final boolean lookupNested(Fields row, Field<?> field) {
2330

Callers 10

indexOrFailMethod · 0.95
getMethod · 0.95
originalMethod · 0.95
touchedMethod · 0.95
modifiedMethod · 0.95
resetMethod · 0.95
safeIndexMethod · 0.80
safeIndexMethod · 0.80
setMethod · 0.80
safeIndexMethod · 0.80

Calls 4

lookupNestedMethod · 0.95
nameMethod · 0.95
fieldMethod · 0.95
countFlattenedMethod · 0.95

Tested by

no test coverage detected