liurunyu
3 天以前 2daa780ed9c74cb689f7c1e6a13f8aadebd57208
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package com.dy.common.webUtil;
 
import lombok.Data;
import lombok.EqualsAndHashCode;
 
@Data
@EqualsAndHashCode(callSuper=false)
public class GlException extends Exception {
 
    private String code ;
    private String msg ;
 
    public GlException() {
        this.code = ResultCodeMsg.RsCode.EXCEPTION_CODE;
        this.msg = ResultCodeMsg.RsMsg.EXCEPTION_MESSAGE;
    }
    public GlException(String msg) {
        super(msg);
        this.code = code;
        this.msg = msg;
    }
}