Skip to content

Commit d0abc74

Browse files
author
dsyer
committed
BATCH-1608: Javadocs
1 parent 94d4437 commit d0abc74

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

spring-batch-infrastructure/src/main/java/org/springframework/batch/item/file/transform/FieldSet.java

+6-1
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)