Currently, TabularDataFileReader's read method only throws IOException but if a line can be read correctly but can't be parsed (the only example I know is when quoting is used) a RuntimeException is thrown. This is problematic for other projects (e.g. the gbif-data-validator) since the exception is too general.
The suggestion is to change the read method to also throw java.text.ParseException.
Currently,
TabularDataFileReader
'sread
method only throwsIOException
but if a line can be read correctly but can't be parsed (the only example I know is when quoting is used) aRuntimeException
is thrown. This is problematic for other projects (e.g. the gbif-data-validator) since the exception is too general.The suggestion is to change the
read
method to also throwjava.text.ParseException
.