rename class according to the entity

This commit is contained in:
Lucas Silva 2023-02-22 00:31:50 -03:00 committed by GitHub
parent f4d680a8d8
commit 675c24e166
1 changed files with 1 additions and 1 deletions

View File

@ -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) {