StructureException
info.fingo.spata.error.StructureException
final class StructureException extends CSVException
Exception reported for CSV format errors.
Possible messageCode
s are:
unclosedQuotation
for not enclosed quotation,unescapedQuotation
for not escaped quotation,unmatchedQuotation
for unmatched quotation (probably premature end of file),fieldTooLong
for values longer than provided maximum (may be caused by unmatched quotation),missingHeader
when header isn't found (may be empty content),duplicatedHeader
when two or more header names are duplicated (not unique),wrongNumberOfFields
when number of values doesn't match header or previous records size.
Value parameters
- col
-
column (character) at which error occurred
- errorCode
-
parsing error code
- field
-
field name at which error occurred
- position
-
source row (record) and line at which error occurred
Attributes
- See also
-
CSVException for description of fields providing error location.
- Graph
-
- Supertypes
-
class CSVExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass Any
Members list
In this article