xtern commented on code in PR #7319:
URL: https://github.com/apache/ignite-3/pull/7319#discussion_r2663885727
##########
modules/api/src/main/java/org/apache/ignite/table/TupleImpl.java:
##########
@@ -437,4 +437,12 @@ public String toString() {
return b.toString();
}
+
+ private static <T> T ensureNotNull(T value) {
+ if (value == null) {
+ throw new NullPointerException("The field value is null and cannot
be converted to a primitive data type.");
Review Comment:
Added output of the field name (or index) depending on which method was
called.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]