You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: graphql-jpa-query-schema/src/main/java/com/introproventures/graphql/jpa/query/schema/impl/IntrospectionUtils.java
+8-7Lines changed: 8 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -13,6 +13,7 @@
13
13
importjava.util.Iterator;
14
14
importjava.util.LinkedHashMap;
15
15
importjava.util.Map;
16
+
importjava.util.NoSuchElementException;
16
17
importjava.util.Objects;
17
18
importjava.util.Optional;
18
19
importjava.util.Spliterator;
@@ -48,12 +49,12 @@ public static EntityIntrospectionResult introspect(Class<?> entity) {
48
49
* @param entity a Java entity class to introspect
49
50
* @param propertyName the name of the property
50
51
* @return true if property has Transient annotation or transient field modifier
51
-
* @throws RuntimeException if property does not exists
52
+
* @throws NoSuchElementException if property does not exists
Copy file name to clipboardExpand all lines: graphql-jpa-query-schema/src/test/java/com/introproventures/graphql/jpa/query/schema/CalculatedEntityTests.java
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -84,6 +84,7 @@ public void testIgnoreFields() {
0 commit comments