jinlin
1 天以前 bf5b01b14dc7bfc214e646425a62f5593890d7e3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
package com.example.server.utils;
 
public class ExcelImportException extends Exception {
    private static final long serialVersionUID = 1L;
 
    private int code;
    private String msg;
 
    public ExcelImportException(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }
 
    public ExcelImportException(String msg) {
        super(msg);
        this.msg = msg;
    }
 
    public ExcelImportException(String msg, Throwable e) {
        super(msg, e);
        this.msg = msg;
    }
 
    public String getMsg() {
        return msg;
    }
 
    public void setMsg(String msg) {
        this.msg = msg;
    }
 
    public int getCode() {
        return code;
    }
 
    public void setCode(int code) {
        this.code = code;
    }
 
}