make DuplicateEntryException unchecked

This commit is contained in:
dfsek
2021-07-15 13:55:47 -07:00
parent 8cd2554d3a
commit b3594b2479

View File

@@ -3,7 +3,7 @@ package com.dfsek.terra.api.registry.exception;
/**
* 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;
public DuplicateEntryException(String message) {