Extend Exception instead of Throwable

This commit is contained in:
Andreas Svanberg 2024-10-28 14:36:48 +01:00
parent 42eb4d36d9
commit 1f112b68d1

@ -4,7 +4,7 @@ import se.su.dsv.scipro.system.ProjectType;
import java.time.LocalDate;
public class DuplicateDateException extends Throwable {
public class DuplicateDateException extends Exception {
private final LocalDate validFrom;
private final ProjectType projectType;