Administrator
2024-06-29 a0f7637ae64c2b13567ecc6f41dcc0ef1d564a33
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;
    }
}