@LevelUpApi(contract=PUBLIC) @ThreadSafe public final class ExceptionUtil extends Object
Exceptions.| Modifier and Type | Method and Description |
|---|---|
static UnsupportedOperationException |
nonInstantiableClass(Class<?> clazz) |
public static UnsupportedOperationException nonInstantiableClass(Class<?> clazz)
clazz - The class that is non-instantiable.UnsupportedOperationException with the message "{clazz.getName()} is non-instantiable.".