code: public static <Type> Type newInstance(final Class<Type> ofClass, final Type defaultValue) {
          try {
              return ClassReflection.newInstance(ofClass);
          } catch (final Throwable exception) {
              Exceptions.ignore(exception);
              return defaultValue;
          }
      }
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.
  @param defaultValue will be returned if unable to construct new instance.
  @return a new instance of passed class or default value.
  @param <Type> type of constructed value.