package com.xdap.self_development.exception;

import lombok.Data;
import lombok.EqualsAndHashCode;

@EqualsAndHashCode(callSuper = true)
@Data
public class ExcelImportException extends RuntimeException{
    private final String sheetName;
    private final Integer rowIndex;
    private final String fieldName;
    private final String originalValue;


    public ExcelImportException(String message) {
        super(message);
        this.sheetName = null;
        this.rowIndex = null;
        this.fieldName = null;
        this.originalValue = null;
    }

}
