protected static String getCacheKeyForException(final Throwable throwable) {
    if (throwable == null) {
      return "";
    }
    StringBuilder sb = new StringBuilder();
    for (Throwable t : Throwables.getCausalChain(throwable)) {
      if (t != null) {
        sb.append(t.getClass().getName());
      }
      sb.append('\n');
    }
    return sb.toString();
  }
Determine whether or not the given property id was requested.
ambari-server/src/main/java/org/apache/ambari/server/controller/metrics/ThreadPoolEnabledPropertyProvider.java