Administrator
2024-06-14 447770d03da965c1b0cec34c02cf17180c25eaa0
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;
    }
}