code: public static void checkForInstantiation(Class<?> clazz) {
  		final String errorMessage = checkForInstantiationError(clazz);
  
  		if (errorMessage != null) {
  			throw new RuntimeException("The class '" + clazz.getName() + "' is not instantiable: " + errorMessage);
  		}
  	}
docs: Performs a standard check whether the class can be instantiated by {@code Class#newInstance()}.
  
  @param clazz The class to check.
  @throws RuntimeException Thrown, if the class cannot be instantiated by {@code Class#newInstance()}.