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

org.jxls.reader.XLSDataReadException Maven / Gradle / Ivy

There is a newer version: 2.1.0
Show newest version
package org.jxls.reader;

/**
 * @author Leonid Vysochyn
 */
public class XLSDataReadException extends RuntimeException{
	private static final long serialVersionUID = 1L;

	String cellName;

    XLSReadStatus readStatus;

    public XLSDataReadException() {
    }

    public XLSDataReadException(String cellName, String message, Throwable cause) {
        super(message, cause);
        this.cellName = cellName;
    }

    public XLSDataReadException(String cellName, String message, XLSReadStatus status, Throwable cause) {
        super(message, cause);
        this.cellName = cellName;
        this.readStatus = status;
    }

    public XLSDataReadException(Throwable cause) {
        super(cause);
    }

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


    public XLSDataReadException(String message, XLSReadStatus readStatus) {
        super(message);
        this.readStatus = readStatus;
    }

    public XLSDataReadException(String message, XLSReadStatus readStatus, Throwable cause) {
        super(message, cause);
        this.readStatus = readStatus;
    }

    public String getCellName() {
        return cellName;
    }

    public void setCellName(String cellName) {
        this.cellName = cellName;
    }


    public XLSReadStatus getReadStatus() {
        return readStatus;
    }

    public void setReadStatus(XLSReadStatus readStatus) {
        this.readStatus = readStatus;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy