Class ExcelUnreadableException

  • All Implemented Interfaces:
    Serializable

    public class ExcelUnreadableException
    extends IOException
    Signals that Excel would report an unreadable content error when opening the exported xlsx file. For each string-valued field, its values should not contain two strings that only differ by lower/upper cases. e.g. 'ABC' and 'Abc' would be considered duplicate data by Excel.
    Since:
    2.2.0
    Author:
    Neil
    See Also:
    Serialized Form
    • Constructor Detail

      • ExcelUnreadableException

        public ExcelUnreadableException()
      • ExcelUnreadableException

        public ExcelUnreadableException​(PivotField _field,
                                        String _oldValue,
                                        String _newValue)
        Constructs an ExcelUnreadableException with the field and duplicate values that causes 'unreadable content' to occur
        Parameters:
        _field - the PivotField having the duplicate values
        _oldValue - the duplicate value that occur earlier in the raw data
        _newValue - the duplicate value that occur later in the raw data
    • Method Detail

      • getField

        public PivotField getField()
        Returns:
        the PivotField having the duplicate values
      • getOldValue

        public String getOldValue()
        Returns:
        the duplicate value that occur earlier in the raw data
      • getNewValue

        public String getNewValue()
        Returns:
        the duplicate value that occur later in the raw data