File tree 1 file changed +6
-1
lines changed
spring-batch-infrastructure/src/main/java/org/springframework/batch/item/file/transform
1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -328,6 +328,8 @@ public interface FieldSet {
328
328
*
329
329
* @param index the field index.
330
330
* @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
331
333
*/
332
334
Date readDate (int index );
333
335
@@ -337,7 +339,8 @@ public interface FieldSet {
337
339
*
338
340
* @param name the field name.
339
341
* @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
341
344
*/
342
345
Date readDate (String name );
343
346
@@ -348,6 +351,8 @@ public interface FieldSet {
348
351
* @param index the field index.
349
352
* @param defaultValue the default value to use if the field is blank
350
353
* @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
351
356
*/
352
357
Date readDate (int index , Date defaultValue );
353
358
You can’t perform that action at this time.
0 commit comments