org.eobjects.metamodel
Class InconsistentRowFormatException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.eobjects.metamodel.MetaModelException
org.eobjects.metamodel.InconsistentRowFormatException
- All Implemented Interfaces:
- Serializable
public abstract class InconsistentRowFormatException
- extends MetaModelException
Abstract exception type that represents exceptions that occur when reading a
data format which contain formatting errors or inconsistencies in on or more
rows.
Typically InconsistentRowFormatExceptions are thrown when calling
DataSet.next().
All InconsistentRowFormatExceptions 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.
- Author:
- Kasper Sørensen
- See Also:
- Serialized Form
InconsistentRowFormatException
public InconsistentRowFormatException(Row proposedRow,
int rowNumber)
InconsistentRowFormatException
public InconsistentRowFormatException(Row proposedRow,
int rowNumber,
Exception cause)
getProposedRow
public Row getProposedRow()
- Gets the row as MetaModel would gracefully interpret it.
- Returns:
- a row object which represents the
Row as MetaModel would
gracefully interpret it.
getRowNumber
public int getRowNumber()
- Gets the row number (1-based).
- Returns:
- the index of the row.
getMessage
public String getMessage()
- Overrides:
getMessage in class Throwable
Copyright © 2007-2013. All Rights Reserved.