AdaKing88
2023-08-23 ae35159387a55199e8ab150ebb97d89d68a235bd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package org.jeecg.modules.arj.exception;
 
import lombok.Data;
 
@Data
public class CMSException extends RuntimeException {
    private Integer code;
 
    public CMSException(Integer code, String message) {
        super(message);
        this.code = code;
    }
 
    public CMSException() {
 
    }
 
    @Override
    public String toString() {
        return "CMSException{" + "code=" + code + ", message=" + this.getMessage() + '}';
    }
}