mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-04-04 06:46:21 +00:00
use UnsupportedOperationException if cannot get checked registry
This commit is contained in:
@@ -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