Merge pull request #13520 from Daiven75/patch-1

[FIX] rename class according to the entity
This commit is contained in:
Loredana Crusoveanu 2023-03-28 13:59:37 +03:00 committed by GitHub
commit b3f7a61be9
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) {