public abstract class InconsistentRowFormatException extends MetaModelException
InconsistentRowFormatException
s are thrown when calling
DataSet.next()
.
All InconsistentRowFormatException
s are optional, meaning that you
can turn them on and off. When turned off the result of
getProposedRow()
will be used transparently instead of throwing the
exception.Constructor and Description |
---|
InconsistentRowFormatException(Row proposedRow,
int rowNumber) |
InconsistentRowFormatException(Row proposedRow,
int rowNumber,
Exception cause) |
Modifier and Type | Method and Description |
---|---|
String |
getMessage() |
Row |
getProposedRow()
Gets the row as MetaModel would gracefully interpret it.
|
int |
getRowNumber()
Gets the row number (1-based).
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public InconsistentRowFormatException(Row proposedRow, int rowNumber)
public Row getProposedRow()
Row
as MetaModel would
gracefully interpret it.public int getRowNumber()
public String getMessage()
getMessage
in class Throwable
Copyright © 2007–2017 The Apache Software Foundation. All rights reserved.