mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-10-22 08:07:51 +00:00
use UnsupportedOperationException if cannot get checked registry
This commit is contained in:
1 parent
7a238f833b
commit
89c43e98b9
1 file changed
+1
-1
+1
-1
@@ -34,6 +34,6 @@ public interface RegistryHolder {
|
||||
}
|
||||
|
||||
default <T> CheckedRegistry<T> getCheckedRegistry(Type type) throws IllegalStateException {
|
||||
throw new IllegalStateException("Cannot get checked registry.");
|
||||
throw new UnsupportedOperationException("Cannot get checked registry.");
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user