Class InvalidRawDataFormatException

  • All Implemented Interfaces:
    Serializable

    public class InvalidRawDataFormatException
    extends DBaseFileException
    Exception throws when the raw data extracted from the dBase file does not correspond to a valid type according to the Java parsing API.
    Since:
    14.0
    Version:
    17.0 2020-01-04 14:41:52
    Author:
    Stéphane GALLAND, Olivier LAMOTTE
    See Also:
    Serialized Form
    Maven Group Id:
    org.arakhne.afc.advanced
    Maven Artifact Id:
    dbasefile
    • Constructor Detail

      • InvalidRawDataFormatException

        public InvalidRawDataFormatException​(int recordNumber,
                                             int columnNumber,
                                             CharSequence rawData)
        Constructor.
        Parameters:
        recordNumber - the record number.
        columnNumber - the column number.
        rawData - the raw data.
    • Method Detail

      • getRecordNumber

        @Pure
        public int getRecordNumber()
        Replies the index of the record on which the error occurs.
        Returns:
        an index between 1 and the count of record (inclusives)
      • getColumnIndex

        @Pure
        public int getColumnIndex()
        Replies the column index on which the error occurs.
        Returns:
        a column index between 0 (inclusive) and DBaseFileReader.getDBFFieldCount() (exclusive).
      • getRawData

        @Pure
        public CharSequence getRawData()
        Replies the raw data that cause this exception.
        Returns:
        the raw data