made exception interfaces

This commit is contained in:
2026-02-04 19:50:24 +01:00
parent 0a65a47749
commit b9d4943ba4
8 changed files with 20 additions and 6 deletions

View File

@@ -5,7 +5,7 @@ import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ResponseStatus;
@Slf4j
public class TeamNotFoundException extends RuntimeException {
public class TeamNotFoundException extends NotFoundException {
public TeamNotFoundException(String message) {
super(message);
log.error(message);