Class InconsistentValueWidthException

  • All Implemented Interfaces:
    Serializable

    public final class InconsistentValueWidthException
    extends org.apache.metamodel.InconsistentRowFormatException
    Exception thrown when inconsistent widths of a Fixed Width Value file
    See Also:
    Serialized Form
    • Constructor Detail

      • InconsistentValueWidthException

        public InconsistentValueWidthException​(String[] result,
                                               String line,
                                               int rowNumber)
      • InconsistentValueWidthException

        public InconsistentValueWidthException​(org.apache.metamodel.data.Row proposedRow,
                                               InconsistentValueWidthException cause)
    • Method Detail

      • getSourceLine

        public String getSourceLine()
        Gets the source line as represented in the Fixed Width file
        Returns:
        the source line as a string
      • getSourceResult

        public String[] getSourceResult()
        Gets the parsed result as read by the Fixed Width reader.
        Returns:
        the gracefully parsed line