public class AddCellToColumnException extends RuntimeException
| Constructor and Description |
|---|
AddCellToColumnException(Exception e,
int columnIndex,
long rowNumber,
String[] columnNames,
String[] line)
Creates a new instance of this Exception
|
| Modifier and Type | Method and Description |
|---|---|
void |
dumpRow(PrintStream out)
Dumps to a PrintStream the information relative to the row that caused the problem
|
int |
getColumnIndex()
Returns the index of the column that threw the Exception
|
String |
getColumnName()
Returns the name of the column that caused the Exception
|
String[] |
getColumnNames()
Returns the column names array
|
long |
getRowNumber()
Returns the number of the row that caused the Exception to be thrown
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic AddCellToColumnException(Exception e, int columnIndex, long rowNumber, String[] columnNames, String[] line)
e - The Exceeption that caused adding to failcolumnIndex - The index of the column that threw the ExceptionrowNumber - The number of the row that caused the Exception to be throwncolumnNames - The column names stored as an arrayline - The original line that caused the Exceptionpublic int getColumnIndex()
public long getRowNumber()
public String[] getColumnNames()
public String getColumnName()
public void dumpRow(PrintStream out)
out - The PrintStream to output toCopyright © 2017. All rights reserved.