rename class according to the entity
This commit is contained in:
parent
f4d680a8d8
commit
675c24e166
|
@ -6,7 +6,7 @@ import org.springframework.web.bind.annotation.ExceptionHandler;
|
|||
import org.springframework.web.bind.annotation.RestControllerAdvice;
|
||||
|
||||
@RestControllerAdvice
|
||||
public class ProductControllerAdvice {
|
||||
public class PriceControllerAdvice {
|
||||
|
||||
@ExceptionHandler(PriceNotFoundException.class)
|
||||
public ResponseEntity<Object> handlePriceNotFoundException(PriceNotFoundException exception) {
|
||||
|
|
Loading…
Reference in New Issue