Files
timekeep-backend/src/main/java/de/pnreichmuth/timekeep_backend/exceptions/TeamNotFoundException.java

15 lines
413 B
Java

package de.pnreichmuth.timekeep_backend.exceptions;
import lombok.extern.slf4j.Slf4j;
import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ResponseStatus;
@Slf4j
@ResponseStatus(HttpStatus.NOT_FOUND)
public class TeamNotFoundException extends RuntimeException {
public TeamNotFoundException(String message) {
super(message);
log.error(message);
}
}