严智鑫
2024-04-22 efa1d4bc8ba02a6d3951c1c2850f9cb5aa6964e1
1
2
3
4
5
6
7
8
9
10
11
12
package com.mes.exception;
 
import lombok.Getter;
 
@Getter
public class ServiceException extends RuntimeException {
    private  String code;
    public ServiceException(String code, String msg){
        super(msg);
        this.code=code;
    }
}