code: public static <Type> Type newInstance(final Class<Type> ofClass) {
          try {
              return ClassReflection.newInstance(ofClass);
          } catch (final Throwable exception) {
              throw new GdxRuntimeException("Unable to create a new instance of class: " + ofClass, exception);
          }
      }
docs: Allows to gracefully create a new instance of class, without having to try-catch exceptions.
  
  @param ofClass instance of this class will be constructed using reflection.
  @return a new instance of passed class.
  @throws GdxRuntimeException when unable to create a new instance.
  @param <Type> type of constructed value.