fix
Helius
2022-04-08 45153b035bcd9e9b76fc3b3360e56430d6eb9312
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package com.xzx.log.exception;
 
import com.xzx.log.dto.base.ExceptionEnum;
 
public class MiException extends RuntimeException{
    private Integer code;
    public MiException(ExceptionEnum exceptionEnum){
        super(exceptionEnum.getMessage());
        this.code = exceptionEnum.getCode();
    }
 
    public Integer getCode() {
        return code;
    }
 
    public void setCode(Integer code) {
        this.code = code;
    }
}