Further refactoring, move away from using future thread pool

This commit is contained in:
William278 committed 2023-03-04 21:38:53 +00:00
1 parent 4c90e5498c
commit 39e0b25d46
56 files changed
+737 -1713

No files matched your search

@@ -0,0 +1,18 @@
package net.william278.huskhomes.util;
import org.jetbrains.annotations.NotNull;
public class ValidationException extends IllegalArgumentException {
public ValidationException(@NotNull ValidationException.Type error) {
super("Error validating position: " + error.name());
}
public enum Type {
NOT_FOUND,
NAME_TAKEN,
NAME_INVALID,
DESCRIPTION_INVALID
}
}