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:
@@ -4,7 +4,7 @@ import de.pnreichmuth.timekeep_backend.entities.Station;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
|
||||
@Slf4j
|
||||
public class StationExistsException extends RuntimeException {
|
||||
public class StationExistsException extends ExistsException {
|
||||
public StationExistsException(String message, Station station) {
|
||||
super(message);
|
||||
log.warn(message, station.getName(), station.getLocation());
|
||||
|
||||
Reference in New Issue
Block a user