xlsdatareadexception.java

来自「一个java生成自动生成Excel」· Java 代码 · 共 64 行

JAVA
64
字号
package net.sf.jxls.reader;

/**
 * @author Leonid Vysochyn
 */
public class XLSDataReadException extends RuntimeException{

    String cellName;

    XLSReadStatus readStatus;

    public XLSDataReadException() {
    }

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


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

    public XLSDataReadException(String cellName, String message, XLSReadStatus status) {
        super(message);
        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 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;
    }
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?