docs: private static boolean mightInheritFromException(ClassDescriptor d) {
          while (d != null) {
              try {
                  if ("java.lang.Exception".equals(d.getDottedClassName())) {
                      return true;
                  }
                  XClass classNameAndInfo = Global.getAnalysisCache().getClassAnalysis(XClass.class, d);
                  d = classNameAndInfo.getSuperclassDescriptor();
              } catch (CheckedAnalysisException e) {
                  return true; // don't know
              }
          }
          return false;
      }