guoyuji
2024-02-23 a1a7f43cadbd3c260c7f8b41e0f7ef45d8eadf40
1
2
3
4
5
6
7
8
9
10
11
12
package com.example.erp.exception;
 
import lombok.Getter;
 
@Getter
public class ServiceException extends RuntimeException {
    private  String code;
    public ServiceException(String code, String msg){
        super(msg);
        this.code=code;
    }
}