File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
spring-batch-infrastructure/src/main/java/org/springframework/batch/item/file/transform Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -328,6 +328,8 @@ public interface FieldSet {
328328 *
329329 * @param index the field index.
330330 * @throws IndexOutOfBoundsException if the index is out of bounds.
331+ * @throws IllegalArgumentException if the value is not parseable
332+ * @throws NullPointerException if the value is empty
331333 */
332334 Date readDate (int index );
333335
@@ -337,7 +339,8 @@ public interface FieldSet {
337339 *
338340 * @param name the field name.
339341 * @throws IllegalArgumentException if a column with given name is not
340- * defined.
342+ * defined or if the value is not parseable
343+ * @throws NullPointerException if the value is empty
341344 */
342345 Date readDate (String name );
343346
@@ -348,6 +351,8 @@ public interface FieldSet {
348351 * @param index the field index.
349352 * @param defaultValue the default value to use if the field is blank
350353 * @throws IndexOutOfBoundsException if the index is out of bounds.
354+ * @throws IllegalArgumentException if the value is not parseable
355+ * @throws NullPointerException if the value is empty
351356 */
352357 Date readDate (int index , Date defaultValue );
353358
You can’t perform that action at this time.
0 commit comments