| Modifier and Type | Field and Description |
|---|---|
| private final List |
| Access | Constructor and Description |
|---|---|
| public | CsvChainedException(CsvFieldAssignmentException
The first exception for the list being collected.
Must not be csve)null.Constructor. |
| Modifier and Type | Method and Description |
|---|---|
| public void | add(CsvFieldAssignmentException
Exception to be added to this chain.
Must not be csve)null.Add an exception to the chain of collections. |
| public List | |
| public CsvFieldAssignmentException | |
| public boolean | Returns: true if chain has only a single exception,
false otherwiseConvenience method that checks if the chain only has a single exception. |
| public void | setLine(String[] line)
Overrides com. Sets the line for all exceptions collected. |
| public void | setLineNumber(long lineNumber)
Overrides com. Sets the line number for all exceptions collected. |
| exceptionChain | back to summary |
|---|---|
| private final List<CsvFieldAssignmentException> exceptionChain | |
| CsvChainedException | back to summary |
|---|---|
| public CsvChainedException(CsvFieldAssignmentException csve) Constructor.
| |
| add | back to summary |
|---|---|
| public void add(CsvFieldAssignmentException csve) Add an exception to the chain of collections.
| |
| getExceptionChain | back to summary |
|---|---|
public List
| |
| getFirstException | back to summary |
|---|---|
| public CsvFieldAssignmentException getFirstException() Convenience method to return the first exception from the exception chain.
| |
| hasOnlyOneException | back to summary |
|---|---|
| public boolean hasOnlyOneException() Convenience method that checks if the chain only has a single exception.
| |
| setLine | back to summary |
|---|---|
| public void setLine(String[] line) Overrides com. Sets the line for all exceptions collected.
| |
| setLineNumber | back to summary |
|---|---|
| public void setLineNumber(long lineNumber) Overrides com. Sets the line number for all exceptions collected.
| |