exception fix
This commit is contained in:
parent
a41fcf5618
commit
5f25af9f5b
@ -14,7 +14,7 @@ import org.springframework.web.bind.annotation.ExceptionHandler;
|
|||||||
|
|
||||||
import java.util.stream.Collectors;
|
import java.util.stream.Collectors;
|
||||||
|
|
||||||
@ControllerAdvice
|
/*@ControllerAdvice*/
|
||||||
public class AdviceController {
|
public class AdviceController {
|
||||||
@ExceptionHandler({
|
@ExceptionHandler({
|
||||||
CustomerNotFoundException.class,
|
CustomerNotFoundException.class,
|
||||||
|
Loading…
Reference in New Issue
Block a user