mirror of
https://github.com/PaulReichmuth/timekeep-backend.git
synced 2026-02-06 04:53:25 +00:00
made exception interfaces
This commit is contained in:
@@ -6,7 +6,7 @@ import org.springframework.http.HttpStatus;
|
||||
import org.springframework.web.bind.annotation.ResponseStatus;
|
||||
|
||||
@Slf4j
|
||||
public class TeamExistsException extends RuntimeException {
|
||||
public class TeamExistsException extends ExistsException {
|
||||
public TeamExistsException(String message, Team team) {
|
||||
super(message);
|
||||
log.warn(message, team.getTeamName());
|
||||
|
||||
Reference in New Issue
Block a user