mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-02-16 10:30:42 +00:00
make DuplicateEntryException unchecked
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user