All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.zhongweixian.excel.exception.ExcelImportException Maven / Gradle / Ivy

The newest version!
package com.zhongweixian.excel.exception;

/**
 * @author : caoliang
 * @date : 2017/11/14  下午2:32
 */
public class ExcelImportException extends RuntimeException {
    private static final long serialVersionUID = 1L;

    private ExcelImportEnum   type;

    public ExcelImportException() {
        super();
    }

    public ExcelImportException(ExcelImportEnum type) {
        super(type.getMsg());
        this.type = type;
    }

    public ExcelImportException(ExcelImportEnum type, Throwable cause) {
        super(type.getMsg(), cause);
    }

    public ExcelImportException(String message) {
        super(message);
    }

    public ExcelImportException(String message, ExcelImportEnum type) {
        super(message);
        this.type = type;
    }

    public ExcelImportException(String message, Throwable cause) {
        super(message, cause);
    }

    public ExcelImportEnum getType() {
        return type;
    }

    public void setType(ExcelImportEnum type) {
        this.type = type;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy