1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
| package com.zbkj.common.exception;
|
| import lombok.extern.slf4j.Slf4j;
| import org.springframework.web.bind.annotation.RestControllerAdvice;
| @Slf4j
| @RestControllerAdvice
| public class CarException extends RuntimeException {
|
| private static final long serialVersionUID = 1L;
|
| public CarException() {}
|
| public CarException(String message) {
| super(message);
| }
| }
|
|