public static String forceToString(Object o) {
    try {
      return objectToString(o, true, MAX_ARRAY_ELEMENTS_TO_CONVERT);
    } catch (RuntimeException ex) {
      return "Conversion to a string failed because " + ex;
    }
  }
Used to convert the given object to a String. If anything goes wrong in this conversion put
some info about what went wrong on the result string but do not throw an exception.

@param o the object to convert to a string
@return the string from of the given object.
geode-core/src/main/java/org/apache/geode/internal/lang/StringUtils.java