code: public static String notEmpty(String value, String name, String info) {
          if (value == null) {
              throw new IllegalArgumentException(name + " cannot be null" + (info == null ? "" : ", " + info));
          }
          return notEmptyIfNotNull(value, name, info);
      }
docs: Check that a string is not null and not empty. If null or emtpy throws an IllegalArgumentException.
  
  @param value value.
  @param name parameter name for the exception message.
  @param info additional information to be printed with the exception message
  @return the given value.