mirror of
https://github.com/PaulReichmuth/timekeep-backend.git
synced 2026-02-06 04:53:25 +00:00
13 lines
384 B
Java
13 lines
384 B
Java
package de.pnreichmuth.timekeep_backend.exceptions;
|
|
|
|
import de.pnreichmuth.timekeep_backend.entities.Station;
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
|
@Slf4j
|
|
public class StationExistsException extends ExistsException {
|
|
public StationExistsException(String message, Station station) {
|
|
super(message);
|
|
log.warn(message, station.getName(), station.getLocation());
|
|
}
|
|
}
|