make DuplicateEntryException unchecked

This commit is contained in:
dfsek committed 2021-07-15 13:55:47 -07:00
1 parent 8cd2554d3a
commit b3594b2479
1 file changed
+1 -1
@@ -3,7 +3,7 @@ package com.dfsek.terra.api.registry.exception;
/** /**
* Thrown when a duplicate entry is found in a registry. * Thrown when a duplicate entry is found in a registry.
*/ */
public class DuplicateEntryException extends Exception { public class DuplicateEntryException extends RuntimeException {
private static final long serialVersionUID = -7199021672428288780L; private static final long serialVersionUID = -7199021672428288780L;
public DuplicateEntryException(String message) { public DuplicateEntryException(String message) {