Extend Exception instead of Throwable
This commit is contained in:
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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user