严智鑫
2024-04-15 a666ac61a9a95f325cc0c926394d0d6f35c56c36
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;
    }
}