Package org.apache.metamodel.fixedwidth
Class InconsistentValueWidthException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.apache.metamodel.MetaModelException
-
- org.apache.metamodel.InconsistentRowFormatException
-
- org.apache.metamodel.fixedwidth.InconsistentValueWidthException
-
- All Implemented Interfaces:
Serializable
public final class InconsistentValueWidthException extends org.apache.metamodel.InconsistentRowFormatExceptionException thrown when inconsistent widths of a Fixed Width Value file- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InconsistentValueWidthException(String[] result, String line, int rowNumber)InconsistentValueWidthException(org.apache.metamodel.data.Row proposedRow, InconsistentValueWidthException cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetSourceLine()Gets the source line as represented in the Fixed Width fileString[]getSourceResult()Gets the parsed result as read by the Fixed Width reader.-
Methods inherited from class org.apache.metamodel.InconsistentRowFormatException
getMessage, getProposedRow, getRowNumber
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
InconsistentValueWidthException
public InconsistentValueWidthException(String[] result, String line, int rowNumber)
-
InconsistentValueWidthException
public InconsistentValueWidthException(org.apache.metamodel.data.Row proposedRow, InconsistentValueWidthException cause)
-
-