mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2025-07-04 00:45:57 +00:00
use UnsupportedOperationException if cannot get checked registry
This commit is contained in:
parent
7a238f833b
commit
89c43e98b9
@ -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.");
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user