public class AddCellToColumnException
extends java.lang.RuntimeException
| Constructor and Description |
|---|
AddCellToColumnException(java.lang.Exception e,
int columnIndex,
long rowNumber,
java.lang.String[] columnNames,
java.lang.String[] line)
Creates a new instance of this Exception
|
| Modifier and Type | Method and Description |
|---|---|
void |
dumpRow(java.io.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
|
java.lang.String |
getColumnName()
Returns the name of the column that caused the Exception
|
java.lang.String[] |
getColumnNames()
Returns the column names array
|
long |
getRowNumber()
Returns the number of the row that caused the Exception to be thrown
|
public AddCellToColumnException(java.lang.Exception e,
int columnIndex,
long rowNumber,
java.lang.String[] columnNames,
java.lang.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 java.lang.String[] getColumnNames()
public java.lang.String getColumnName()
public void dumpRow(java.io.PrintStream out)
out - The PrintStream to output to